HISTIGNORE in psql

Started by Wiwwo Staffalmost 2 years ago4 messagesgeneral
Jump to latest
#1Wiwwo Staff
wiwwo@wiwwo.com

Hi!
As a big history lover, it would be great to have the HISTIGNORE
functionality added to psql.

Have a great day!
Wiwwo

#2Adrian Klaver
adrian.klaver@aklaver.com
In reply to: Wiwwo Staff (#1)
Re: HISTIGNORE in psql

On 6/17/24 23:45, Wiwwo Staff wrote:

Hi!
As a big history lover, it would be great to have the HISTIGNORE
functionality added to psql.

HISTIGNORE is a BASH feature and psql runs in more then the BASH shell.

Do you mean you would like a clone of that feature added to psql?

Also psql uses either readline or libedit so it would need to work with
those.

Have a great day!
Wiwwo

--
Adrian Klaver
adrian.klaver@aklaver.com

#3Wiwwo Staff
wiwwo@wiwwo.com
In reply to: Adrian Klaver (#2)
Re: HISTIGNORE in psql

Hi Adrian,
yes, of course, that is what I meant: being able to tell psql to exclude
some patterns from being stored in the .psql_history file

On Tue, 18 Jun 2024 at 16:12, Adrian Klaver <adrian.klaver@aklaver.com>
wrote:

Show quoted text

On 6/17/24 23:45, Wiwwo Staff wrote:

Hi!
As a big history lover, it would be great to have the HISTIGNORE
functionality added to psql.

HISTIGNORE is a BASH feature and psql runs in more then the BASH shell.

Do you mean you would like a clone of that feature added to psql?

Also psql uses either readline or libedit so it would need to work with
those.

Have a great day!
Wiwwo

--
Adrian Klaver
adrian.klaver@aklaver.com

#4Daniel Gustafsson
daniel@yesql.se
In reply to: Wiwwo Staff (#3)
Re: HISTIGNORE in psql

On 18 Jun 2024, at 19:28, Wiwwo Staff <wiwwo@wiwwo.com> wrote:

being able to tell psql to exclude some patterns from being stored in the .psql_history file

Off the cuff that sounds like a pretty useful thing to have.

--
Daniel Gustafsson