Tab complete for CREATE OR REPLACE TRIGGER statement

From: "Shinoda, Noriyoshi (PN Japan FSI)" <noriyoshi(dot)shinoda(at)hpe(dot)com>
To: "pgsql-hackers(at)lists(dot)postgresql(dot)org" <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Tab complete for CREATE OR REPLACE TRIGGER statement
Date: 2020-11-16 08:12:05
Message-ID: TU4PR8401MB115244623CF4724DCA0D507FEEE30@TU4PR8401MB1152.NAMPRD84.PROD.OUTLOOK.COM
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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

Attachment Content-Type Size
psql_create_or_replace_trigger_tab.diff application/octet-stream 8.5 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Daniel Gustafsson 2020-11-16 09:19:41 Re: Move OpenSSL random under USE_OPENSSL_RANDOM
Previous Message Michael Paquier 2020-11-16 08:10:05 Re: [PATCH] remove pg_archivecleanup and pg_standby