Multiple psql history files - Mailing list pgsql-hackers

From Jonathan Jacobson
Subject Multiple psql history files
Date
Msg-id CAFTTroOXn2Z0fgrPYPF1VQBQz-8uqseUcKur79xx52CHTxTP2Q@mail.gmail.com
Whole thread Raw
Responses Re: Multiple psql history files
Re: Multiple psql history files
Re: Multiple psql history files
Re: Multiple psql history files
Re: Multiple psql history files
List pgsql-hackers
The .psql_history file is naturally used by different DB connections (distinguished by a different combination of host + port + database + user).
At least in my multi-database working environment, this leads sometimes to frustration because there are commands that cannot or should not be used by different connections.
To solve this, psql could keep a separate command history file for each connection.
I will be happy to make this my first contribution to PostgreSQL's code.
What do you say?

Regards,
Jonathan

pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: [PATCH] pgpassfile connection option
Next
From: Corey Huinker
Date:
Subject: Re: Multiple psql history files