how to redirect output to a file

From: pc <chavanpriya(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: how to redirect output to a file
Date: 2007-12-05 04:19:29
Message-ID: 66e762d8-a490-40e2-9e67-e75c1a93f70a@d21g2000prf.googlegroups.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

How to redirect the output of an sql command to a file?
Thanks in advance

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Keaton Adams 2007-12-05 05:50:39 Server crashed and now experiencing slow running queries
Previous Message Tom Lane 2007-12-05 04:00:15 Re: Deadlock when updating table partitions (and presumed solution)