Hi, Hackers. Yesterday, OR REPLACE clause was provided to the CREATE TRIGGER statement, so I wrote a patch for tab completion for the psql command. TRIGGER adds tab completion to the CREATE OR REPLACE statement, and the CREATE TRIGGER and CREATE OR REPLACE TRIGGER statements are completed in the same way. I referred to the tab completion code of the CREATE RULE statement.
Regards, Noriyoshi Shinoda
psql_create_or_replace_trigger_tab.diff
Description: psql_create_or_replace_trigger_tab.diff