On Thu, Apr 02, 2009 at 12:52:40PM +0200, Angelo Nicolosi wrote: > I wanted to write some C-Function Where is this code going to live? if it's going to be "inside" PG as a function you can call from SQL you want something called SPI: http://www.postgresql.org/docs/current/static/spi.html If it's going to be "outside" PG and connect to the database to do its work you want to use the client libraries: http://www.postgresql.org/docs/current/static/libpq.html Hope that helps! -- Sam http://samason.me.uk/ -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general