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

From: hans(at)matfyz(dot)cz
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #12725: psql: no interpretation of option -F
Date: 2015-02-02 07:19:25
Message-ID: 20150202071925.2581.10482@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 12725
Logged by: Hans Ginzel
Email address: hans(at)matfyz(dot)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

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Hans Ginzel 2015-02-02 07:57:01 Re: BUG #12721: psql -a does not preserve empty lines between SELECTs
Previous Message domjeno 2015-02-01 21:43:40 BUG #12723: The Psql is already installed, but I uninstalled...