Re: [GENERAL] pl/pgsql
Re: [GENERAL] pl/pgsql
От:
Mike Mascari <mascarim@yahoo.com>
Дата:
It is my understanding that the answer is no. This is because pl/pgSQL is a language (if configured) to be available to all users and access to external routines, the filesystem, etc. would be a major security hole, since each backend runs as user 'postgres'. That's why Postgres superuser privileges are necessary to create functions in a language like 'C': "Only users with Postgres superuser privilege are permitted to create a function in the 'C' language. Others may use the 'sql' language or the created procedural languages." Hope that helps, Mike Mascari mascarim@yahoo.com --- Paul Kelly wrote: > hi, > is there any way in pl/pgsql to create a function > that causes postrges to call an external program, or > to call a function in a C shared lib? > > Paul > ---------------------------------------------- > Paul Kelly pkelly@virtual.org.uk > U-NET Internet Noc Some day now! __________________________________________________ Do You Yahoo!? Bid and sell for free at http://auctions.yahoo.com