Re: Seperate command-line histories for seperate databases

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Markus Bertheau <mbertheau(dot)pg(at)googlemail(dot)com>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Seperate command-line histories for seperate databases
Date: 2006-03-17 18:51:01
Message-ID: 200603171851.k2HIp1a20665@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Markus Bertheau wrote:
> 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.

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. +

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Chris Browne 2006-03-17 18:55:01 Re: Seperate command-line histories for seperate databases
Previous Message Markus Bertheau 2006-03-17 17:48:47 Re: Seperate command-line histories for seperate databases