Skip site navigation (1) Skip section navigation (2)

Re: C function accepting/returning cstring vs. text

From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: <pgsql-hackers(at)postgresql(dot)org>, "Ivan Sergio Borgonovo" <mail(at)webthatworks(dot)it>
Subject: Re: C function accepting/returning cstring vs. text
Date: 2010-01-27 15:27:22
Message-ID: 4B6006FA020000250002EC7E@gw.wicourts.gov (view raw or flat)
Thread:
Lists: pgsql-hackers
Ivan Sergio Borgonovo <mail(at)webthatworks(dot)it> wrote:
 
> There are a lot of functions in contrib taking cstring input and
> returning cstring output.
> Are they just in the same "special" class of [type]in, [type]out
> [type]recv... functions?
 
If you're looking in contrib subdirectories, perhaps the missing
link here is the *.sql.in files.  These are what are run in a
database to expose functions to the SQL language. Start at those
functions and see what the call tree is from there.
 
-Kevin

In response to

pgsql-hackers by date

Next:From: Heikki LinnakangasDate: 2010-01-27 15:27:51
Subject: pgsql: Make standby server continuously retry restoring the next WAL
Previous:From: KaiGai KoheiDate: 2010-01-27 15:17:45
Subject: Re: [BUG?] strange behavior in ALTER TABLE ... RENAME TO on inherited columns

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group