"psql -At -F" export column from table to .csv

Поиск
Список
Период
Сортировка
От Nina
Тема "psql -At -F" export column from table to .csv
Дата
Msg-id 1139578532.383212.266950@f14g2000cwb.googlegroups.com
обсуждение исходный текст
Ответы Re: "psql -At -F" export column from table to .csv  (Stephen Frost <sfrost@snowman.net>)
Список pgsql-general
Hi ,

I think you maybe familiar with this command:
psql -At -F "," -c "select ..." > query.csv

My question is:
is it possible to export several different columns from different
tables into the same .csv file; something like:  psql -At -F "," -c
"select ..." "select ..." "select ..." "select ..." > query.csv

Then, how to write the command in the correct way?

Thanks!

Nina


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

Предыдущее
От: Doug McNaught
Дата:
Сообщение: Re: Last modification time
Следующее
От: Gabor Siklos
Дата:
Сообщение: Out of memory error during updating huge table