Re: [PATCH] support tab-completion for single quote input with equal sign - Mailing list pgsql-hackers

From torikoshia
Subject Re: [PATCH] support tab-completion for single quote input with equal sign
Date
Msg-id ccfb9320b73bb6b7fb20edd4d6f3b591@oss.nttdata.com
Whole thread Raw
In response to Re: [PATCH] support tab-completion for single quote input with equal sign  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On 2023-01-11 11:28, Tom Lane wrote:
> I wrote:
>> I've spent some effort previously on getting tab-completion to deal
>> sanely with single-quoted strings, but everything I've tried has
>> crashed and burned :-(, mainly because it's not clear when to take
>> the whole literal as one "word" and when not.
> 
> After a little further thought, a new idea occurred to me: maybe
> we could push some of the problem down into the Matches functions.
> Consider inventing a couple of new match primitives:

Thanks for the idea!
I'm going to try it.

--
Atsushi Torikoshi
NTT DATA CORPORATION



pgsql-hackers by date:

Previous
From: "Hayato Kuroda (Fujitsu)"
Date:
Subject: RE: Time delayed LR (WAS Re: logical replication restrictions)
Next
From: Gilles Darold
Date:
Subject: Re: fix and document CLUSTER privileges