Re: HISTIGNORE for psql

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: Vesa-Matti J Kari <vmkari(at)cc(dot)helsinki(dot)fi>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: HISTIGNORE for psql
Date: 2017-08-17 08:17:17
Message-ID: CAFj8pRD4x05eLZhasFToOv=2knXuGXrW7ay7w-xv-6D6Lok-sg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

2017-08-17 9:23 GMT+02:00 Vesa-Matti J Kari <vmkari(at)cc(dot)helsinki(dot)fi>:

>
> Hello,
>
> Bash has HISTIGNORE feature that allows you to exclude certain commands
> from the command history (e.g. shutdown, reboot, rm *).
>
> Would it make any sense to add such a feature to psql (e.g. to ignore
> DROP, DELETE commands)?
>

It is not bad idea.

Regards

Pavel

>
> Regards,
> vmk
> --
> ************************************************************************
> Tietotekniikkakeskus / Helsingin yliopisto
> IT department / University of Helsinki
> ************************************************************************
>
>
> --
> Sent via pgsql-hackers mailing list (pgsql-hackers(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-hackers
>

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Etsuro Fujita 2017-08-17 08:27:05 Re: Add support for tuple routing to foreign partitions
Previous Message Dave Page 2017-08-17 08:12:07 Re: pl/perl extension fails on Windows