Thread: HISTIGNORE in psql

HISTIGNORE in psql

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

Have a great day!
Wiwwo


Re: HISTIGNORE in psql

From
Adrian Klaver
Date:
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




Re: HISTIGNORE in psql

From
Wiwwo Staff
Date:
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:
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

Re: HISTIGNORE in psql

From
Daniel Gustafsson
Date:
> 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