Re: Help requd in writing functions in C and using in Postgres - Mailing list pgsql-general

From Michael Fuhr
Subject Re: Help requd in writing functions in C and using in Postgres
Date
Msg-id 20060620153450.GA67382@winnie.fuhr.org
Whole thread Raw
In response to Help requd in writing functions in C and using in Postgres  ("Jasbinder Bali" <jsbali@gmail.com>)
List pgsql-general
On Tue, Jun 20, 2006 at 11:23:33AM -0400, Jasbinder Bali wrote:
> Can you help me in writing functions in C and the using in Postgres.
> would like to know some pointers and what all needs to be taken into
> considerations.

Are you writing server-side or client-side code?  For server-side
see "C-Language Functions" in the documentation:

http://www.postgresql.org/docs/8.1/interactive/xfunc-c.html

For examples you could look through the PostgreSQL source code, in
particular the files under contrib and in src/backend/utils/adt.

If you're writing client-side code then see "libpq - C Library":

http://www.postgresql.org/docs/8.1/interactive/libpq.html

If that doesn't help then please provide more information about
what you'd like to do or what concerns you have.

--
Michael Fuhr

pgsql-general by date:

Previous
From: Martijn van Oosterhout
Date:
Subject: Re: join on next row
Next
From: "Lee Riquelmei"
Date:
Subject: Re: question about performance of libpq