RE: Writing Result to Disk (psql)

From: "Tamsin" <tg_mail(at)bryncadfan(dot)co(dot)uk>
To: <pgsql-general(at)postgresql(dot)org>
Subject: RE: Writing Result to Disk (psql)
Date: 2001-05-14 22:20:39
Message-ID: NEBBKHBOBMJCHDMGKCNJOEAACOAA.tg_mail@bryncadfan.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

in psql i use:
\o filename
to send all output to a file, then run the select statement, then just
\o
to stop sending output to the file.
is that what you meant?
tamsin

> -----Original Message-----
> From: pgsql-general-owner(at)postgresql(dot)org
> [mailto:pgsql-general-owner(at)postgresql(dot)org]On Behalf Of
> ryan(at)paymentalliance(dot)net
> Sent: 14 May 2001 17:07
> To: pgsql-general(at)postgresql(dot)org
> Subject: [GENERAL] Writing Result to Disk (psql)
>
>
> Is it possible to write the result of a SELECT statement to disk from
> psql?
>
> Thanks!
>
> -r
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo(at)postgresql(dot)org
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jason 2001-05-14 22:22:36 PostgreSQL in Comparison to mySQL
Previous Message Jason Earl 2001-05-14 22:16:16 Re: Writing Result to Disk (psql)