RE: Tab complete for CREATE OR REPLACE TRIGGER statement

Shinoda, Noriyoshi <noriyoshi.shinoda@hpe.com>

From: "Shinoda, Noriyoshi (PN Japan FSI)" <noriyoshi.shinoda@hpe.com>
To: Michael Paquier <michael@paquier.xyz>, Tom Lane <tgl@sss.pgh.pa.us>
Cc: "pgsql-hackers@lists.postgresql.org" <pgsql-hackers@lists.postgresql.org>
Date: 2020-11-18T06:06:07Z
Lists: pgsql-hackers
> Okay.  I have tweaked a couple of things in the patch and applied it.

Thank you so much.
The next time I post a patch, be careful with git --diff check and indentation.

Regards,
Noriyoshi Shinoda

-----Original Message-----
From: Michael Paquier [mailto:michael@paquier.xyz] 
Sent: Wednesday, November 18, 2020 2:07 PM
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Shinoda, Noriyoshi (PN Japan FSI) <noriyoshi.shinoda@hpe.com>; pgsql-hackers@lists.postgresql.org
Subject: Re: Tab complete for CREATE OR REPLACE TRIGGER statement

On Mon, Nov 16, 2020 at 10:14:10PM -0500, Tom Lane wrote:
> Michael Paquier <michael@paquier.xyz> writes:
>> I don't think that this is a requirement for this thread, though.
> 
> Agreed, I'm not trying to block this patch.  Just wishing there were a 
> better way.

Okay.  I have tweaked a couple of things in the patch and applied it.
I am wondering if libreadline gives the possibility to implement an optional grouping of words to complete, but diving into its documentation I have not found something that we could use.
--
Michael



Commits

  1. Add tab completion for CREATE [OR REPLACE] TRIGGER in psql