Re: Are "text" strings 0 terminated internally?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruno Wolff III <bruno(at)wolff(dot)to>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Are "text" strings 0 terminated internally?
Date: 2002-08-25 14:57:12
Message-ID: 5769.1030287432@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

No, they aren't.

You should call textout if you want to convert a TEXT object into a C
string.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Gavin Sherry 2002-08-25 15:16:59 Documentation of maximum input string lengths
Previous Message Tom Lane 2002-08-25 14:55:02 Re: A configure.in patch check (fwd)