Re: Tab completion for AT TIME ZONE

Поиск
Список
Период
Сортировка
Искать
От
Jim Jones
Тема
Re: Tab completion for AT TIME ZONE
Дата
Msg-id
8f76a2e7-1ea3-76df-3176-887d94ee3aea@uni-muenster.de
Ответ на
Re: Tab completion for AT TIME ZONE (Dagfinn Ilmari Mannsåker)
Список
Дерево обсуждения
Tab completion for AT TIME ZONE Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>
Re: Tab completion for AT TIME ZONE Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>
Re: Tab completion for AT TIME ZONE Jim Jones <jim.jones@uni-muenster.de>
Re: Tab completion for AT TIME ZONE Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>
Re: Tab completion for AT TIME ZONE Jim Jones <jim.jones@uni-muenster.de>
Re: Tab completion for AT TIME ZONE Michael Paquier <michael@paquier.xyz>
Re: Tab completion for AT TIME ZONE Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>
Re: Tab completion for AT TIME ZONE Vik Fearing <vik@postgresfriends.org>
Re: Tab completion for AT TIME ZONE Michael Paquier <michael@paquier.xyz>
Re: Tab completion for AT TIME ZONE Vik Fearing <vik@postgresfriends.org>
Re: Tab completion for AT TIME ZONE Michael Paquier <michael@paquier.xyz>
Re: Tab completion for AT TIME ZONE Pavel Stehule <pavel.stehule@gmail.com>
Hi,

Is this supposed to provide tab completion for the AT TIME ZONE operator 
like in this query?

SELECT '2023-04-14 08:00:00' AT TIME ZONE 'Europe/Lisbon';

The patch applied cleanly but I'm afraid I cannot reproduce the intended 
behaviour:

postgres=# SELECT '2023-04-14 08:00:00' AT

postgres=# SELECT '2023-04-14 08:00:00' AT T

postgres=# SELECT '2023-04-14 08:00:00' AT TIME Z

Perhaps I'm testing it in the wrong place?

Best, Jim

On 12.04.23 19:53, Dagfinn Ilmari Mannsåker wrote:
> Dagfinn Ilmari Mannsåker  writes:
>
>> Hi hackers,
>>
>> A while back we added support for completing time zone names after SET
>> TIMEZONE, but we failed to do the same for the AT TIME ZONE operator.
>> Here's a trivial patch for that.
> Added to the 2023-07 commitfest:
>
> https://commitfest.postgresql.org/43/4274/
>
> - ilmari
>
>
В списке pgsql-hackers по дате отправления
От: vignesh C
Дата:
От: Kyotaro Horiguchi
Дата:
FAQ