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: (view raw, whole thread or download thread mbox)
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?


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-2017 The PostgreSQL Global Development Group