Re: C function accepting/returning cstring vs. text - Mailing list pgsql-hackers

From Kevin Grittner
Subject Re: C function accepting/returning cstring vs. text
Date
Msg-id 4B5DC89E020000250002EBE2@gw.wicourts.gov
Whole thread Raw
In response to C function accepting/returning cstring vs. text  (Ivan Sergio Borgonovo <mail@webthatworks.it>)
Responses Re: C function accepting/returning cstring vs. text
List pgsql-hackers
Ivan Sergio Borgonovo <mail@webthatworks.it> wrote:
The README files might be a good place to start, then browse code.
> Is there any part of the code from where I could learn about:
> - memory allocation for both cstring and text
src/backend/utils/mmgr/README
> - example of returning text (especially if size of out>in)
> - what should I take care of for encoding (what's really inside a
>   tsvector, text, cstring)?
src/backend/utils/fmgr/README
-Kevin


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: default pg_hba.conf tabulation
Next
From: Joe Conway
Date:
Subject: Re: Patch: libpq new connect function (PQconnectParams)