Re: Tab completion for AT TIME ZONE - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: Tab completion for AT TIME ZONE
Date
Msg-id ZSjWKqaIZqX8dsAK@paquier.xyz
Whole thread Raw
In response to Re: Tab completion for AT TIME ZONE  (Vik Fearing <vik@postgresfriends.org>)
Responses Re: Tab completion for AT TIME ZONE
List pgsql-hackers
On Fri, Oct 13, 2023 at 03:07:25AM +0200, Vik Fearing wrote:
> The SQL committee already has another operator starting with AT which is AT
> LOCAL.

The other patch was the reason why I looked at this one.  At the end,
I've made peace with Dagfinn's argument two messages ago, and applied
the patch after adding LOCAL to the keywords, but after also removing
the completion for "ZONE" after typing "AT TIME" because AT would be
completed by "TIME ZONE".

> I am implementing it in https://commitfest.postgresql.org/45/4343/
> where I humbly admit that I did not think of psql tab completion at all.

psql completion is always nice to have but not really mandatory IMO,
so leaving it out if one does not want to implement it is fine by me
to not complicate a patch.  Completion could always be tackled on top
of any feature related to it that got committed.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Add support for AT LOCAL
Next
From: Amit Kapila
Date:
Subject: Re: pg_upgrade's interaction with pg_resetwal seems confusing