| From: | Tulio Oliveira <mestredosmagos(at)marilia(dot)com> |
|---|---|
| To: | pgsql-general(at)postgresql(dot)org |
| Subject: | "C" libpq-fe.h |
| Date: | 2000-12-18 23:23:39 |
| Message-ID: | 3A3E9C7B.1DDADD28@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 23:24:09 | Trigger running with "postgres" superuser permissions |
| Previous Message | Martin A. Marques | 2000-12-18 22:57:57 | Re: check constraint |