| От | Jason Earl |
|---|---|
| Тема | Re: Writing Result to Disk (psql) |
| Дата | |
| Msg-id | 20010514221616.87683.qmail@web10004.mail.yahoo.com обсуждение |
| Ответ на | Writing Result to Disk (psql) (ryan@paymentalliance.net) |
| Список | pgsql-general |
Yes it is. Check out the \o option. For example: processdata=> \o foobar processdata=> select * from maintent; Will put the output from the query "select * from maintent" into the file foobar. You might also find the \f and \t options to be useful. Try typing in \? at the psql prompt for more information. --- ryan@paymentalliance.net wrote: > Is it possible to write the result of a SELECT > statement to disk from > psql? > > Thanks! > > -r > > ---------------------------(end of > broadcast)--------------------------- > TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org __________________________________________________ Do You Yahoo!? Yahoo! Auctions - buy the things you want at great prices http://auctions.yahoo.com/
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера