Re: [GENERAL] writing a file using procedure

2005-06-02 Thread Michael Fuhr
On Thu, Jun 02, 2005 at 11:00:56AM +0100, Richard Huxton wrote: > Nageshwar Rao wrote: > >Can we write/read a file in postgresql procedure ? > > Using one of the "untrusted" languages, yes. They can only be used by an > administrator but have access to the full capabilities of the underlying > p

Re: [GENERAL] writing a file using procedure

2005-06-02 Thread Tino Wildenhain
Am Donnerstag, den 02.06.2005, 15:06 +0530 schrieb Nageshwar Rao: > Can we write/read a file in postgresql procedure ? Yes. -- Tino Wildenhain <[EMAIL PROTECTED]> ---(end of broadcast)--- TIP 6: Have you searched our list archives?

Re: [GENERAL] writing a file using procedure

2005-06-02 Thread Richard Huxton
Nageshwar Rao wrote: Can we write/read a file in postgresql procedure ? Using one of the "untrusted" languages, yes. They can only be used by an administrator but have access to the full capabilities of the underlying procedural language. Of course, you will read and write files as the user

Re: [GENERAL] writing a file using procedure

2005-06-02 Thread Peter Eisentraut
Am Donnerstag, 2. Juni 2005 11:36 schrieb Nageshwar Rao: > Can we write/read a file in postgresql procedure ? That depends on the language you use. PL/PerlU and PL/sh can do it, for example, whereas plain PL/Perl or PL/pgSQL cannot. -- Peter Eisentraut http://developer.postgresql.org/~petere/

[GENERAL] writing a file using procedure

2005-06-02 Thread Nageshwar Rao
Can we write/read a file in postgresql procedure ?