Re: Text <-> C string

From: "Brendan Jurd" <direvus(at)gmail(dot)com>
To: "Gregory Stark" <stark(at)enterprisedb(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Text <-> C string
Date: 2007-09-21 20:12:46
Message-ID: 37ed240d0709211312r11f1fb47s36d37a4b48a5f63c@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

On 9/22/07, Gregory Stark <stark(at)enterprisedb(dot)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?

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2007-09-21 20:24:42 Re: like/ilike improvements
Previous Message Gregory Stark 2007-09-21 20:00:06 Re: Text <-> C string

Browse pgsql-patches by date

  From Date Subject
Next Message Andrew Dunstan 2007-09-21 20:24:42 Re: like/ilike improvements
Previous Message Gregory Stark 2007-09-21 20:00:06 Re: Text <-> C string