psql -F problems

From: Hubert depesz Lubaczewski <depesz(at)depesz(dot)pl>
To: pgsql-bugs(at)postgresql(dot)org
Subject: psql -F problems
Date: 2003-02-22 23:18:52
Message-ID: 20030222231852.GA28957@depesz.pl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

--
hubert depesz lubaczewski http://www.depesz.pl/
najwspanialszą rzeczą jaką dało nam nowoczesne społeczeństwo, jest
niesamowita wręcz łatwość unikania kontaktów z nim ...

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message pgsql-bugs 2003-02-22 23:57:54 Bug #901: Build problems with 7.3.1 and 7.3.2 on SunOS
Previous Message Stephan Szabo 2003-02-22 17:41:46 Re: [SQL] 7.3 GROUP BY differs from 7.2