From: Tom Lane <tgl@sss.pgh.pa.us>
To: Tomasz Myrta <jasiek@klaster.net>
Cc: Lista dyskusyjna pgsql-sql <pgsql-sql@postgresql.org>
Subject: Re: pl/pgsql, cursors and C function
Date: Tue, 23 Sep 2003 13:18:29 -0400
Message-ID: <19913.1064337509@sss.pgh.pa.us> (raw)
In-Reply-To: <3F707820.1000100@klaster.net>
References: <3F70314C.30507@klaster.net>
<16949.1064330109@sss.pgh.pa.us>
<3F707820.1000100@klaster.net>
Tomasz Myrta <jasiek@klaster.net> writes:
> Do you know anything about good source of C functions documentation and
> examples?
Look in the main sources (backend/utils/adt/, mostly) and/or contrib
modules for functions that do something like what you need. The only
difference between a builtin function and a dynamically loaded one is
you have to add the PG_FUNCTION_INFO macro.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: tgl@sss.pgh.pa.us, jasiek@klaster.net
Subject: Re: pl/pgsql, cursors and C function
In-Reply-To: <19913.1064337509@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox