Re: [HACKERS] \h tab-completion - Mailing list pgsql-hackers

From Andreas Karlsson
Subject Re: [HACKERS] \h tab-completion
Date
Msg-id 93c9e87e-2199-9fe2-ed33-34ca9369e16a@proxel.se
Whole thread Raw
In response to Re: [HACKERS] \h tab-completion  (Michael Paquier <michael.paquier@gmail.com>)
Responses Re: [HACKERS] \h tab-completion  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
List pgsql-hackers
On 01/25/2017 07:13 AM, Michael Paquier wrote:
> What I think you should do is making the code path of
> \\h smarter with some exceptions by using TailMatchesCS2() for ALTER.
> There is as well the case of DROP commands that should be treated by
> the way.

Yes, I think that is correct approach. I have attached a patch where I 
add completion for \h ALTER and \h DROP.

Andreas


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Attachment

pgsql-hackers by date:

Previous
From: Rafia Sabih
Date:
Subject: [HACKERS] Redundant comment in ExecutePlan
Next
From: Tomas Vondra
Date:
Subject: Re: [HACKERS] Checksums by default?