Re: Redirecting Output

Поиск
Список
Период
Сортировка
От Jeff MacDonald
Тема Re: Redirecting Output
Дата
Msg-id HIEGJGDMNIKAMPPDEKBNGEEPCAAA.jeff@tsunamicreek.com
обсуждение исходный текст
Ответ на Redirecting Output  (benc1@today.com.au (Ben C))
Список pgsql-general
on the command line

psql -c "select * from my_table" databasename username > textfile.dat



> -----Original Message-----
> From: pgsql-general-owner@postgresql.org
> [mailto:pgsql-general-owner@postgresql.org]On Behalf Of Ben C
> Sent: Sunday, June 23, 2002 7:28 PM
> To: pgsql-general@postgresql.org
> Subject: [GENERAL] Redirecting Output
>
>
> Hi there,
>
> I am hoping that someone can point me to the docs where I will find
> the answer to this problem ... all I am trying to do is redirect
> output from a select statement (from either an SQL or PL\pgsql
> function) to a text file ... seems simple enough ... however after
> reading as many docs/books that I can find I have not been able to
> find a solution ... is it possible?? If so would someone be kind
> enough to point me to some documentation re: this?
>
> thanks
>
> Ben
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.html
>
>
>



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

Предыдущее
От: kalyanshanky@yahoo.com (Shanker)
Дата:
Сообщение: Object Oriented Representation in PostgreSQL
Следующее
От: Robert Treat
Дата:
Сообщение: Re: functions for date parsing.