| От | Edmund Bacon |
|---|---|
| Тема | Re: fied separator change from the shell command line |
| Дата | |
| Msg-id | m3ll8v32p0.fsf@elb_lx.onesystem.ca обсуждение исходный текст |
| Ответ на | fied separator change from the shell command line (paulo.oliveira@engineer.com) |
| Ответы |
Re: fied separator change from the shell command line
|
| Список | pgsql-general |
paulo.oliveira@engineer.com writes: > Hello, > > I'm trying to change the usal "|" table field separator from the shell > command line: > psql -d ect -f pl_lost.sql -o pl_lost.out.txt -F "\t" -U asaadmin > > But it doesn't work. It keeps the same "|" separator in the output > file. > Can anyone please help me? > I need to output to a tab separated file. Can anynone hel me with this? > > Thanks in advance, Changing the field separator only works with unaligned output. You need to add a -A to your command line switches (or --no-align). Doing this, though, drops the column headers. -- Remove -42 for email
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера