Re: [PATCH] Improve tab completion for CREATE TABLE - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: [PATCH] Improve tab completion for CREATE TABLE
Date
Msg-id 20181221233647.GD1948@paquier.xyz
Whole thread Raw
In response to Re: [PATCH] Improve tab completion for CREATE TABLE  (ilmari@ilmari.org (Dagfinn Ilmari Mannsåker))
List pgsql-hackers
On Fri, Dec 21, 2018 at 01:57:40PM +0000, Dagfinn Ilmari Mannsåker wrote:
> Yeah, because of that we can't do the obvious HeadMatches("CREATE",
> "TABLE") && (TailMatches(...) || TailMatches(...) || ...).  I believe
> this would require extending the match syntax with regex-like grouping,
> alternation and repetition operators, which I'm not volunteering to
> do.

That seems to be a lot of work for little benefit as few queries are
able to work within CREATE SCHEMA, so I would not take this road.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Joins on TID
Next
From: Michael Paquier
Date:
Subject: Re: could recovery_target_timeline=latest be the default in standbymode?