postgresql 8.1.5 psql -P recordsep='\n' not work
От | Denis Lishtovny |
---|---|
Тема | postgresql 8.1.5 psql -P recordsep='\n' not work |
Дата | |
Msg-id | 20070402144653.69F2B9FB71A@postgresql.org обсуждение исходный текст |
Ответы |
Re: postgresql 8.1.5 psql -P recordsep='\n' not work
Re: postgresql 8.1.5 psql -P recordsep='\n' not work |
Список | pgsql-bugs |
Hello All. I want to output result of query with double newline record separated. For example: psql -At -P recordsep="\n\n" -U postgres -c "select generate_series(1,3)" 1 2 3 But my result is: psql -At -P recordsep="\n\n" -U postgres -d chronopay -c "select generate_series(1,3)" 1\n\n2\n\n3 Simple newline not work too: psql -At -P recordsep="\n" -U postgres -d chronopay -c "select generate_series(1,3)" 1\n2\n3 -------------- psql -At -P recordsep='\n\n' -U postgres -d chronopay -c "select generate_series(1,3)" psql -At -R '\n\n' -U postgres -d chronopay -c "select generate_series(1,3)" psql -At -R "\n\n" -U postgres -d chronopay -c "select generate_series(1,3)" no resultat Is it a bug? p.s. PostgreSQL 8.1.5 on x86_64-unknown-linux-gnu, compiled by GCC gcc (GCC) 3.4.6 20060404 (Red Hat 3.4.6-3) Thanks.
В списке pgsql-bugs по дате отправления: