pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>
Cc: pgsql-hackers@lists.postgresql.org
Subject: Re: Tab completion for SET TimeZone
Date: Fri, 18 Mar 2022 15:01:56 -0400
Message-ID: <1158648.1647630116@sss.pgh.pa.us> (raw)
In-Reply-To: <1157472.1647629584@sss.pgh.pa.us>
References: <87k0curq0w.fsf@wibble.ilmari.org>
	<87h77yrpsu.fsf@wibble.ilmari.org>
	<514658.1647438049@sss.pgh.pa.us>
	<87czikrtc1.fsf@wibble.ilmari.org>
	<87a6dnsgyr.fsf@wibble.ilmari.org>
	<1157472.1647629584@sss.pgh.pa.us>

... 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





view thread (10+ messages)  latest in thread

Message-ID: <1158648.1647630116@sss.pgh.pa.us>
Permalink:  ../1158648.1647630116@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/1158648.1647630116@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-hackers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, ilmari@ilmari.org
  Subject: Re: Tab completion for SET TimeZone
  In-Reply-To: <1158648.1647630116@sss.pgh.pa.us>
  References: <87k0curq0w.fsf@wibble.ilmari.org> <87h77yrpsu.fsf@wibble.ilmari.org> <514658.1647438049@sss.pgh.pa.us> <87czikrtc1.fsf@wibble.ilmari.org> <87a6dnsgyr.fsf@wibble.ilmari.org> <1157472.1647629584@sss.pgh.pa.us> <1158648.1647630116@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox