Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search archives
  Advanced Search

Re: how to create dir using pg/plsql


  • From: hubert depesz lubaczewski <depesz(at)depesz(dot)com>
  • To: qinghuamail-postgresqlfans(at)yahoo(dot)com
  • Cc: postgresql-admin <pgsql-admin(at)postgresql(dot)org>
  • Subject: Re: how to create dir using pg/plsql
  • Date: Wed, 29 Aug 2007 10:27:42 +0200
  • Message-id: <20070829082742.GA19034@depesz.com> <text/plain>

On Wed, Aug 29, 2007 at 02:45:56PM +0800, qinghuamail-postgresqlfans(at)yahoo(dot)com wrote:
> just subject,
> i need to create dir using pg/plsql function,,but cannt get anything after google,

it's not possible.
pl/pgsql is trusted language (like pl/perl and pl/tcl). trusted
languages cannot use system-level functions. so no file, directory,
socket access is possible.

depesz

-- 
quicksil1er: "postgres is excellent, but like any DB it requires a
highly paid DBA.  here's my CV!" :)
http://www.depesz.com/ - blog dla ciebie (i moje CV)



Home | Main Index | Thread Index

Privacy Policy | About PostgreSQL
Copyright © 1996 – 2012 PostgreSQL Global Development Group