From: | Michael Paquier <michael(at)paquier(dot)xyz> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Add tab completion of EXECUTE FUNCTION for CREATE TRIGGER in psq |
Date: | 2018-10-26 14:37:19 |
Message-ID: | E1gG3El-0000zI-Px@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Andrew Dunstan | 2018-10-28 19:31:04 | pgsql: Fix perl searchpath for modern perl for MSVC tools |
Previous Message | Michael Paquier | 2018-10-26 04:47:34 | pgsql: Improve tab completion of CREATE EVENT TRIGGER in psql |