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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-hackers by date

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