Redirecting query's output to a textfile?

From: Peter Peltonen <peter(dot)peltonen(at)fivetec(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Redirecting query's output to a textfile?
Date: 2002-02-15 16:11:08
Message-ID: 20020215181108.C14690@cayman.fivetec.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


A basic question:

How in PostgreSQL do I redirect the output of an SQL query to a textfile?

--
Peter Peltonen
System Administrator
Fivetec Solutions Oy

Melkonkatu 28 E
00210 Helsinki
GSM. +358-40 720 6535
Tel. +358-9-6824 7666
Fax. +358-9-6824 7664
http://www.fivetec.com
mailto:peter(dot)peltonen(at)fivetec(dot)com
--

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2002-02-15 16:17:42 Re: Solaris and effective_cache_size
Previous Message Neal Lindsay 2002-02-15 15:58:18 Re: Question: Who's Using Postgres