Re: Sending query to a file
| От | Brett W. McCoy |
|---|---|
| Тема | Re: Sending query to a file |
| Дата | |
| Msg-id | Pine.LNX.4.30.0111101539110.2354-100000@chapelperilous.net обсуждение исходный текст |
| Ответ на | Sending query to a file (Francisco Reyes <lists@natserv.com>) |
| Ответы |
Re: Sending query to a file
|
| Список | pgsql-novice |
On Sat, 10 Nov 2001, Francisco Reyes wrote:
> What is the best way to send a query to an ASCII file?
> I have been using "\g", but that seems to require doing the query twice. I
> do a query and when done I then do '\g <filename>'. It works, but for a
> lengthy query it can take very long having to do the query twice.
\o <file> will send the results of queries to a file.
-- Brett
http://www.chapelperilous.net/
------------------------------------------------------------------------
Courage is your greatest present need.
В списке pgsql-novice по дате отправления: