Re: Tab complete for CREATE OR REPLACE TRIGGER statement - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: Tab complete for CREATE OR REPLACE TRIGGER statement
Date
Msg-id 20201117025535.GF19692@paquier.xyz
Whole thread Raw
In response to Re: Tab complete for CREATE OR REPLACE TRIGGER statement  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Tab complete for CREATE OR REPLACE TRIGGER statement  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Mon, Nov 16, 2020 at 09:14:51PM -0500, Tom Lane wrote:
> It's kind of depressing how repetitive the patch is.  There's
> probably not much to be done about that in the short run, but
> it seems to point up the need to start thinking about how to
> refactor tab-complete.c more thoroughly.

Agreed.  One thing that I'd think could help is a new wild card to
make some of the words conditional in the list of items.  But that may
be tricky once you consider the case of a group of words.

I don't think that this is a requirement for this thread, though.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: "David G. Johnston"
Date:
Subject: Re: Terminate the idle sessions
Next
From: Tom Lane
Date:
Subject: Re: Tab complete for CREATE OR REPLACE TRIGGER statement