Peter Eisentraut wrote:
If you are using libpq for writing stored procedures, you're doing something wrong. libpq is for client-side access.
It seems the documentation doesn't tell what library to link, so I guessed wrong. Searching the FAQs or my mailbox doesn't help much either... Which lib are we supposed to use for SPI?
-- Alban Hertroys ---------------------------(end of broadcast)--------------------------- TIP 3: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faq