Re: Text <-> C string - Mailing list pgsql-hackers

From Brendan Jurd
Subject Re: Text <-> C string
Date
Msg-id 37ed240d0709211312r11f1fb47s36d37a4b48a5f63c@mail.gmail.com
Whole thread Raw
In response to Re: Text <-> C string  (Gregory Stark <stark@enterprisedb.com>)
Responses Re: Text <-> C string
List pgsql-hackers
On 9/22/07, Gregory Stark <stark@enterprisedb.com> wrote:
> The canonical way to do it is with
>
> DatumGetCString(DirectFunctionCall1(textout, t))

Ah, I see.  Thanks.

In that case, would it be helpful if I submitted a patch for the
various code fragments that do this locally, updating them to use
DatumGetCString?


pgsql-hackers by date:

Previous
From: Gregory Stark
Date:
Subject: Re: Text <-> C string
Next
From: Andrew Dunstan
Date:
Subject: Re: like/ilike improvements