BUG #12725: psql: no interpretation of option -F

Поиск
Список
Период
Сортировка
От hans@matfyz.cz
Тема BUG #12725: psql: no interpretation of option -F
Дата
Msg-id 20150202071925.2581.10482@wrigleys.postgresql.org
обсуждение исходный текст
Ответы Re: BUG #12725: psql: no interpretation of option -F
Список pgsql-bugs
The following bug has been logged on the website:

Bug reference:      12725
Logged by:          Hans Ginzel
Email address:      hans@matfyz.cz
PostgreSQL version: 9.4.0
Operating system:   Centos 6.5
Description:

Hello!

There is, in the [doc] that -F is equivalent to \f. But try

echo 'SELECT * FROM information_schema.Tables LIMIT 1;' |psql -qnaAF'\t'
-Pfooter=off

versus

cat <<EOF |psql -qnaA -Pfooter=off
\f '\t'
SELECT * FROM information_schema.Tables LIMIT 1
EOF

versus

echo 'SELECT * FROM information_schema.Tables LIMIT 1;' |psql -qnaAFF"`echo
-e '\t'`" -Pfooter=off

It seems that that the command line parameter of the -F option is not
interpreted for escape sequences. Please add this.

[doc]: http://www.postgresql.org/docs/9.4/static/app-psql.html

Best regards
Hans

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: BUG #12721: psql -a does not preserve empty lines between SELECTs
Следующее
От: Hans Ginzel
Дата:
Сообщение: Re: BUG #12721: psql -a does not preserve empty lines between SELECTs