Re: piping output to file

Поиск
Список
Период
Сортировка
От Reid Thompson
Тема Re: piping output to file
Дата
Msg-id 64AE3D5B518E3648ACC823FBCB0B737502767A08@sr002-2kexc.ateb.com
обсуждение исходный текст
Ответ на piping output to file  (Russ Schneider <russ@sugapablo.com>)
Список pgsql-general
also,

$ psql  -c "select whatever_you_want from table_name" > outfile

reid


> -----Original Message-----
> From: scott.marlowe [mailto:scott.marlowe@ihs.com]
> Sent: Monday, February 09, 2004 12:17 PM
> To: Russ Schneider
> Cc: pgsql-general
> Subject: Re: [GENERAL] piping output to file
>
>
> On Sun, 8 Feb 2004, Russ Schneider wrote:
>
> > Is there an easy way to pipe a select statement's output to a file?
>
> In psql you can use \o [filename] to direct query output to a file.
>
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
>     (send "unregister YourEmailAddressHere" to
> majordomo@postgresql.org)
>

В списке pgsql-general по дате отправления:

Предыдущее
От: Joe Lester
Дата:
Сообщение: Re: Increasing Max Connections Mac OS 10.3
Следующее
От: "nednieuws | charles"
Дата:
Сообщение: Re: Where do I find the init-script