Re: [PATCH] Tab complete EXECUTE FUNCTION for CREATE (EVENT) TRIGGER

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, David Fetter <david@fetter.org>, pgsql-hackers@postgresql.org
Date: 2018-10-26T14:43:26Z
Lists: pgsql-hackers
On Fri, Oct 26, 2018 at 09:08:13PM +0900, Michael Paquier wrote:
> I didn't think that this was much of a big deal as the deprecated
> grammar is still supported on v11, but as both of you think in this
> sense I am fine to patch REL_11_STABLE as well.  Please just wait a
> bit...

Done for the part with CREATE TRIGGER.  The recent support added for tab
completion of CREATE EVENT TRIGGER .. EXECUTE is new as of v12 so this
is not gaining a backpatch.
--
Michael

Commits

  1. Add tab completion of EXECUTE FUNCTION for CREATE TRIGGER in psql

  2. Improve tab completion of CREATE EVENT TRIGGER in psql

  3. Improve tab completion for ANALYZE, EXPLAIN, and VACUUM.