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

From: torikoshia <torikoshia(at)oss(dot)nttdata(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: tanghy(dot)fnst(at)fujitsu(dot)com, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: [PATCH] support tab-completion for single quote input with equal sign
Date: 2023-01-11 12:55:30
Message-ID: ccfb9320b73bb6b7fb20edd4d6f3b591@oss.nttdata.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Gilles Darold 2023-01-11 13:22:26 Re: fix and document CLUSTER privileges
Previous Message Hayato Kuroda (Fujitsu) 2023-01-11 12:48:17 RE: Time delayed LR (WAS Re: logical replication restrictions)