Are "text" strings 0 terminated internally? - Mailing list pgsql-hackers

From Bruno Wolff III
Subject Are "text" strings 0 terminated internally?
Date
Msg-id 20020824153422.GA18187@wolff.to
Whole thread Raw
Responses Re: Are "text" strings 0 terminated internally?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
I want to make a function that converts text to cube and the "obvious"
thing to do is to call cube_in with the pointer from the text data.
However this depends on the text string being 0 terminated. I am very
sure that this is the case, but since I want to submit this change back
as a patch to contrib/cube I was hoping someone could make me 100%
sure this is correct. Thanks.


pgsql-hackers by date:

Previous
From: Vince Vielhaber
Date:
Subject: Re: [GENERAL] PostgreSQL 7.2.2: Security Release
Next
From: Lamar Owen
Date:
Subject: Re: [GENERAL] PostgreSQL 7.2.2: Security Release