From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Improve tab completion of CREATE EVENT TRIGGER in psql
Date: Fri, 26 Oct 2018 04:47:34 +0000
Message-ID: <E1gFu22-0006Be-Nc@gemulon.postgresql.org> (raw)
Improve tab completion of CREATE EVENT TRIGGER in psql
This adds tab completion of the clauses WHEN and EXECUTE
FUNCTION|PROCEDURE clauses to CREATE EVENT TRIGGER, similar to CREATE
TRIGGER in the previous commit. This has version-dependent logic so as
FUNCTION is chosen over PROCEDURE for 11 and newer versions.
Author: Dagfinn Ilmari Mannsåker
Reviewed-by: Tom Lane, Michael Paquier
Discussion: https://postgr.es/m/d8jmur4q4yc.fsf@dalvik.ping.uio.no
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/5953c99697621174f50aa219a3cd457212968268
Modified Files
--------------
src/bin/psql/tab-complete.c | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: michael@paquier.xyz
Subject: Re: pgsql: Improve tab completion of CREATE EVENT TRIGGER in psql
In-Reply-To: <E1gFu22-0006Be-Nc@gemulon.postgresql.org>
References: <E1gFu22-0006Be-Nc@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox