psql -F problems - Mailing list pgsql-bugs

From Hubert depesz Lubaczewski
Subject psql -F problems
Date
Msg-id 20030222231852.GA28957@depesz.pl
Whole thread Raw
Responses Re: psql -F problems  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-bugs
hi
according to docs -F parameter given to psql is equivalent to \f or
\pset fieldset in psql itself.
this is usually true, but if i'll try to use "tab" as field separator, i
cannot enter it like this:
psql -c "something" -A -t -F '\t'
it just returns fields separated by literally '\t', and not by tab-space
character.
yet, entering the same in psql as \f '\t' works great.
i belive this is just simple ommision in argument parsing, but i belive
it should be corrected to maintain uniform way of communication with
user.

best regards

hubert depesz lubaczewski

--=20
hubert depesz lubaczewski                              http://www.depesz.pl/
     najwspanialsz=B1 rzecz=B1 jak=B1 da=B3o nam nowoczesne spo=B3ecze=F1st=
wo, jest
           niesamowita wr=EAcz =B3atwo=B6=E6 unikania kontakt=F3w z nim ...

pgsql-bugs by date:

Previous
From: Stephan Szabo
Date:
Subject: Re: [SQL] 7.3 GROUP BY differs from 7.2
Next
From: pgsql-bugs@postgresql.org
Date:
Subject: Bug #901: Build problems with 7.3.1 and 7.3.2 on SunOS