Re: Seperate command-line histories for seperate databases

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: Seperate command-line histories for seperate databases
Дата
Msg-id 441B0A90.3080505@dunslane.net
обсуждение исходный текст
Ответ на Re: Seperate command-line histories for seperate databases  (Chris Browne <cbbrowne@acm.org>)
Ответы Re: Seperate command-line histories for seperate databases  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Chris Browne wrote:

>mbertheau.pg@googlemail.com ("Markus Bertheau") writes:
>  
>
>>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 fairly frequently find myself accessing different (but similar)
>databases, and it's quite valuable to be able to submit the *same*
>queries to them.
>
>This change would make it troublesome to do that.  I'd not be all that
>keen on the change...
>  
>

Just what I was thinking.

cheers

andrew


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Chris Browne
Дата:
Сообщение: Re: Seperate command-line histories for seperate databases
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: Automatically setting work_mem