pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: hubert depesz lubaczewski <depesz@depesz.com>
To: qinghuamail-postgresqlfans@yahoo.com
Cc: postgresql-admin <pgsql-admin@postgresql.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> (raw)
In-Reply-To: <715958.65839.qm@web58103.mail.re3.yahoo.com>
References: <715958.65839.qm@web58103.mail.re3.yahoo.com>

On Wed, Aug 29, 2007 at 02:45:56PM +0800, qinghuamail-postgresqlfans@yahoo.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)



view thread (7+ messages)  latest in thread

Message-ID: <20070829082742.GA19034@depesz.com>
Permalink:  ../20070829082742.GA19034@depesz.com/
Also on:    postgresql.org/message-id/20070829082742.GA19034@depesz.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: depesz@depesz.com, qinghuamail-postgresqlfans@yahoo.com
  Subject: Re: how to create dir using pg/plsql
  In-Reply-To: <20070829082742.GA19034@depesz.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox