Re: Seperate command-line histories for seperate databases

Bruce Momjian <pgman@candle.pha.pa.us>

From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Markus Bertheau <mbertheau.pg@googlemail.com>
Cc: Peter Eisentraut <peter_e@gmx.net>, pgsql-hackers@postgresql.org
Date: 2006-03-17T18:51:01Z
Lists: pgsql-hackers
Markus Bertheau wrote:
> 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.

I am not sure everyone would want it.  If they want it, we have given
them the capability.

-- 
  Bruce Momjian   http://candle.pha.pa.us
  SRA OSS, Inc.   http://www.sraoss.com

  + If your life is a hard drive, Christ can be your backup. +