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

file I/O in plpgsql

From: Jessica M Salmon <jmsalmon(at)fs(dot)fed(dot)us>
To: pgsql-general(at)postgresql(dot)org
Subject: file I/O in plpgsql
Date: 2006-04-28 19:47:59
Message-ID: OFCC42A0A8.F7AC10C4-ON8725715E.006C4422-8725715E.006CC395@fs.fed.us (view raw or flat)
Thread:
Lists: pgsql-general
I'm trying to write out query results to a text file from within a plpgsql
function, but having trouble. Can anyone tell me if this is possible? I'm
trying to perform \o filename, then select, but it squawks about no
destination for the select results. Any pointers?
-Meghan


Responses

pgsql-general by date

Next:From: Bruce MomjianDate: 2006-04-28 19:56:19
Subject: Re: Autovacuum Logging
Previous:From: Martijn van OosterhoutDate: 2006-04-28 19:45:39
Subject: Re: How to define + operator for strings

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