COPY to - Mailing list pgsql-general

From Angshu Kar
Subject COPY to
Date
Msg-id df8328740601071213ib70fd93k51f245916897f15d@mail.gmail.com
Whole thread Raw
Responses Re: COPY to  ("A. Kretschmer" <andreas.kretschmer@schollglas.com>)
List pgsql-general
Hi Pgsql,

I want to copy the output of a SELECT query onto a text file. I'm trying to use the COPY command for that as :

COPY (SELECT .... ) to 'outfile'

But its throwing some error. Is it possible? Else, are there any means to do it?

Thanks,
AK

--
Ignore the impossible but honor it ...
The only enviable second position is success, since failure always comes first...

pgsql-general by date:

Previous
From: Robert Treat
Date:
Subject: Re: 'Official' definition of ACID compliance?
Next
From: Tom Lane
Date:
Subject: Re: Oracle DB Worm Code Published