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

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 (view raw or flat)
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

pgsql-novice by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group