| From: | Tulio Oliveira <mestredosmagos(at)marilia(dot)com> |
|---|---|
| To: | pgsql-general(at)postgresql(dot)org |
| Subject: | "C" libpq-fe.h |
| Date: | 2000-12-18 21:10:41 |
| Message-ID: | 3A3E7D51.592578B4@marilia.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tulio Oliveira | 2000-12-18 21:12:20 | Trigger running whith "postgres" superuser permission |
| Previous Message | Sandeep Joshi | 2000-12-18 20:56:42 | Re: question |