Re: Help with C-Function on Postgre

Поиск
Список
Период
Сортировка
От Sam Mason
Тема Re: Help with C-Function on Postgre
Дата
Msg-id 20090402155733.GK12225@frubble.xen.chris-lamb.co.uk
обсуждение исходный текст
Ответ на Help with C-Function on Postgre  (Angelo Nicolosi <amenuor@hotmail.com>)
Список pgsql-general
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/

В списке pgsql-general по дате отправления:

Предыдущее
От: linnewbie
Дата:
Сообщение: Re: Posgres Adding braces at beginning and end of text (html) content
Следующее
От: "David E. Wheeler"
Дата:
Сообщение: Re: [HACKERS] string_to_array with empty input