Re: Tab completion for SET TimeZone

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Dagfinn Ilmari Mannsåker <ilmari(at)ilmari(dot)org>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Tab completion for SET TimeZone
Date: 2022-03-18 19:01:56
Message-ID: 1158648.1647630116@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

... btw, I forgot to mention that I don't see any problem with
the patch's behavior for DEFAULT. What I see with both readline
and libedit is that if you type something reasonable, like
set timezone to d<TAB>
then it will correctly complete "efault ", without any extra
quotes. Now, if you're silly and do
set timezone to 'd<TAB>
then readline gives you "efault' " and libedit gives you nothing.
But I think that's your own, um, fault. We don't have any other
places where tab completion is so aggressive as to remove quotes
from a keyword.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Stephen Frost 2022-03-18 19:23:21 Re: Proposal: Support custom authentication methods using hooks
Previous Message Tom Lane 2022-03-18 18:53:04 Re: Tab completion for SET TimeZone