Re: [HACKERS] HISTIGNORE for psql - Mailing list pgsql-hackers

From Pavel Stehule
Subject Re: [HACKERS] HISTIGNORE for psql
Date
Msg-id CAFj8pRD4x05eLZhasFToOv=2knXuGXrW7ay7w-xv-6D6Lok-sg@mail.gmail.com
Whole thread Raw
In response to [HACKERS] HISTIGNORE for psql  (Vesa-Matti J Kari <vmkari@cc.helsinki.fi>)
Responses Re: [HACKERS] HISTIGNORE for psql  (Vesa-Matti J Kari <vmkari@cc.helsinki.fi>)
List pgsql-hackers


2017-08-17 9:23 GMT+02:00 Vesa-Matti J Kari <vmkari@cc.helsinki.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@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

pgsql-hackers by date:

Previous
From: Dave Page
Date:
Subject: Re: [HACKERS] pl/perl extension fails on Windows
Next
From: Etsuro Fujita
Date:
Subject: Re: [HACKERS] Add support for tuple routing to foreign partitions