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

Re: File I/O

From: "A(dot) Kretschmer" <andreas(dot)kretschmer(at)schollglas(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: Re: File I/O
Date: 2007-04-24 18:56:13
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-novice
am  Tue, dem 24.04.2007, um  9:29:15 -0500 mailte Greg Lindstrom folgendes:
> Hello-
> Is it possible to read and write directly to data (text) files using 
> PL/pgSQL?

No, because pl/pgsql is a trusted language. Do you need file access,
then you can use a untrusted language like pl/perlU or pl/sh or other,
but not pl/pgsql.

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

In response to

  • File I/O at 2007-04-24 14:29:15 from Greg Lindstrom

pgsql-novice by date

Next:From: Ing. Sergio LimaDate: 2007-04-25 05:33:04
Subject: Comparison of dates
Previous:From: Sean DavisDate: 2007-04-24 18:41:40
Subject: Re: File I/O

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