pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add tab completion of EXECUTE FUNCTION for CREATE TRIGGER in psq
Date: Fri, 26 Oct 2018 14:37:19 +0000
Message-ID: <E1gG3El-0000zI-Px@gemulon.postgresql.org> (raw)

Add tab completion of EXECUTE FUNCTION for CREATE TRIGGER in psql

The change to accept EXECUTE FUNCTION as well as EXECUTE PROCEDURE in
CREATE TRIGGER (added by 0a63f99) forgot to tell psql's tab completion
system about this.

This change is version-aware, with FUNCTION being selected automatically
instead of PROCEDURE depending on the backend version, PROCEDURE being
an historical grammar kept for compatibility and considered as
deprecated in v11.

Author: Dagfinn Ilmari Mannsåker
Reviewed-by: Tom Lane, Michael Paquier
Discussion: https://postgr.es/m/d8jmur4q4yc.fsf@dalvik.ping.uio.no

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/fdf5eade96267d86af9efaf9213f5b3624e02354

Modified Files
--------------
src/bin/psql/tab-complete.c | 66 ++++++++++++++++++++++++++++++++++++++-------
1 file changed, 56 insertions(+), 10 deletions(-)



view thread (2+ messages)

Message-ID: <E1gG3El-0000zI-Px@gemulon.postgresql.org>
Permalink:  ../E1gG3El-0000zI-Px@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1gG3El-0000zI-Px@gemulon.postgresql.org

 · 

reply

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: Add tab completion of EXECUTE FUNCTION for CREATE TRIGGER in psq
  In-Reply-To: <E1gG3El-0000zI-Px@gemulon.postgresql.org>
  References: <E1gG3El-0000zI-Px@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