Re: Write to file from pgplsql function

From: "A(dot) Kretschmer" <andreas(dot)kretschmer(at)schollglas(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: Re: Write to file from pgplsql function
Date: 2007-01-02 09:13:07
Message-ID: 20070102091307.GC25271@a-kretschmer.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

am Tue, dem 02.01.2007, um 10:09:06 +0100 mailte Sven Sporer folgendes:
> Hello,
>
> is there a way to write to a file in the filesystem from a pgplsql function?

No, because plsql is a trusted language. You should use a untrusted
language, for instance plperlu.

Andreas
--
Andreas Kretschmer
Kontakt: Heynitz: 035242/47150, D1: 0160/7141639 (mehr: -> Header)
GnuPG-ID: 0x3FFF606C, privat 0x7F4584DA http://wwwkeys.de.pgp.net

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Bruno Wolff III 2007-01-02 17:12:57 Re: Write to file from pgplsql function
Previous Message Sven Sporer 2007-01-02 09:09:06 Write to file from pgplsql function