pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>
Cc: pgsql-hackers@postgresql.org
Subject: Re: [PATCH] Improve tab completion for CREATE TABLE
Date: Sat, 22 Dec 2018 08:36:47 +0900
Message-ID: <20181221233647.GD1948@paquier.xyz> (raw)
In-Reply-To: <d8j4lb7f0dn.fsf@dalvik.ping.uio.no>
References: <d8j1s77kdbb.fsf@dalvik.ping.uio.no>
	<d8j7eguin89.fsf@dalvik.ping.uio.no>
	<20181219050530.GC19856@paquier.xyz>
	<d8jh8f9f6fe.fsf@dalvik.ping.uio.no>
	<20181219234408.GD27104@paquier.xyz>
	<d8j8t0lf4k3.fsf@dalvik.ping.uio.no>
	<20181220053352.GO27104@paquier.xyz>
	<d8j4lb7f0dn.fsf@dalvik.ping.uio.no>

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

Attachments:

  signature.asc (application/pgp-signature, 832B) download

view thread (15+ messages)  latest in thread

Message-ID: <20181221233647.GD1948@paquier.xyz>
Permalink:  ../20181221233647.GD1948@paquier.xyz/
Also on:    postgresql.org/message-id/20181221233647.GD1948@paquier.xyz

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: michael@paquier.xyz, ilmari@ilmari.org
  Subject: Re: [PATCH] Improve tab completion for CREATE TABLE
  In-Reply-To: <20181221233647.GD1948@paquier.xyz>

* 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