"C" libpq-fe.h - Mailing list pgsql-general

From Tulio Oliveira
Subject "C" libpq-fe.h
Date
Msg-id 3A3E9C7B.1DDADD28@marilia.com
Whole thread Raw
List pgsql-general
Hi,

I', trying make a few "C" functions thats runs in server-side, with
Postgres superuser permissions.

The PL/PGSQL runs with the users permissions, and the functions that I
write in "C" using the SPI includes, also runs with the users
permissions.

I think that using the "ligpq-fe.h" I can reconect with the Postgres
user.

But all my sample doesn't works... Please, could you send-me any
exemple, the command line for the compiler, and the right directories of
the included files ?


regards,

Tulio Oliveira.

--
======================================================
AKACIA TECNOLOGIA
Desenvolvimento de sistemas para Internet
www.akacia.com.br

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Re: a "huge" table with small rows and culumns
Next
From: Tulio Oliveira
Date:
Subject: Re: Re: check constraint