Re: Dead code? - Mailing list pgsql-hackers

From Martijn van Oosterhout
Subject Re: Dead code?
Date
Msg-id 20060905125606.GI14312@svana.org
Whole thread Raw
In response to Re: Dead code?  (Gregory Stark <stark@enterprisedb.com>)
List pgsql-hackers
On Tue, Sep 05, 2006 at 01:42:57PM +0100, Gregory Stark wrote:
> Martijn van Oosterhout <kleptog@svana.org> writes:
>
> > attlen -2 is used for cstring (null terminated strings).
> >
> > Hope this helps,
>
> Well that's what the code I quoted indicates. But when do we ever store a
> cstring in a tuple? Certainly I can't find any standard data types that use
> it.

# select textout('text');textout
---------text
(1 row)

The output is cstring, and stored in a tuple to send...

Hope this helps,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

pgsql-hackers by date:

Previous
From: Martijn van Oosterhout
Date:
Subject: Re: Dead code?
Next
From: Martijn van Oosterhout
Date:
Subject: Re: TODO item: GUID