Re: Seperate command-line histories for seperate databases

Markus Bertheau <mbertheau.pg@googlemail.com>

From: "Markus Bertheau" <mbertheau.pg@googlemail.com>
To: "Bruce Momjian" <pgman@candle.pha.pa.us>
Cc: "Peter Eisentraut" <peter_e@gmx.net>, pgsql-hackers@postgresql.org
Date: 2006-03-17T17:48:47Z
Lists: pgsql-hackers
2006/3/17, Bruce Momjian <pgman@candle.pha.pa.us>:
> Peter Eisentraut wrote:
> > Bruce Momjian wrote:
> > > The psql manual pages for 8.1 now has:
> >
> > >               \set HISTFILE ~/.psql_history- :DBNAME

Any reason psql doesn't do this by default? It is clear that the
database name does not unambiguously identify a database, but having a
history for each database name is already an improvement over the
current situation.

Markus Bertheau