On Thu, Oct 25, 2018 at 05:02:32PM +0100, Dagfinn Ilmari Mannsåker wrote: > Okay, revised patches attached. I also tweaked the CREATE EVENT TRIGGER > completion to accept multple <filter_varaible> IN (<filter_value>) > conditions seprated by AND in the WHEN clause (but not to suggest that, > since we only actually support one <filter_variable>, TAG).
Committed 0001 now which adds tab completion for CREATE TRIGGER. Something you missed is that we should still be able to complete with PROCEDURE or FUNCTION (depending on the backend version) if CREATE TRIGGER .. EXECUTE is present on screen. The priority is given to complete with both EXECUTE PROCEDURE and EXECUTE FUNCTION at the same time, but you also should have the intermediate state. I also added some brackets for clarity, and a comment about the grammar selection. -- Michael
signature.asc
Description: PGP signature