[PATCH] Tab complete EXECUTE FUNCTION for CREATE (EVENT) TRIGGER
Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>
From: ilmari@ilmari.org (Dagfinn Ilmari Mannsåker )
To: pgsql-hackers@postgresql.org
Date: 2018-10-23T11:26:35Z
Lists: pgsql-hackers
Attachments
Hi hackers, The last-minute change for CREATE (EVENT) TRIGGER to accept EXECUTE FUNCTION as well as EXECUTE PROCEDURE did not update the tab completion in psql to match. Please find attached two patches that do this for CREATE TRIGGER and CREATE EVENT TRIGGER, respectively. To keep the duplication minimal, I've changed it from completing EXECUTE PROCEDURE as a single thing to just EXECUTE, and then completing FUNCTION or FUNCTION and PROCEDURE after that depending on the server version. - ilmari -- - Twitter seems more influential [than blogs] in the 'gets reported in the mainstream press' sense at least. - Matt McLeod - That'd be because the content of a tweet is easier to condense down to a mainstream media article. - Calle Dybedahl
Commits
-
Add tab completion of EXECUTE FUNCTION for CREATE TRIGGER in psql
- fdf5eade9626 11.1 landed
- 292ef6e2778a 12.0 landed
-
Improve tab completion of CREATE EVENT TRIGGER in psql
- 5953c9969762 12.0 landed
-
Improve tab completion for ANALYZE, EXPLAIN, and VACUUM.
- 121213d9d852 12.0 cited