2006/3/17, Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)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