Re: Tab completion for SET TimeZone

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

Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> writes:

> After thinking a bit harder, I realized that the SchemaQuery
> infrastructure has no way to deal with the case of the input text not
> being a prefix of what we want the output to be, so it can't do something
> comparable to Query_for_list_of_timezone_names_quoted_out. Maybe someday
> we'll feel like adding that, but COMPLETE_WITH_ENUM_VALUE isn't a
> compelling enough reason in current usage. So I just tweaked the comment
> a bit.

Fair enough.

> Pushed that way.

Thanks!

> regards, tom lane

- ilmari

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2022-03-21 00:17:47 Re: Probable CF bot degradation
Previous Message Thomas Munro 2022-03-20 23:46:32 Re: Probable CF bot degradation