pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: David Fetter <david@fetter.org>
To: Stephen Frost <sfrost@snowman.net>
Cc: Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
Cc: michael.paquier@gmail.com
Cc: tgl@sss.pgh.pa.us
Cc: robertmhaas@gmail.com
Cc: pavel.stehule@gmail.com
Cc: pgsql-hackers@postgresql.org
Subject: Re: IF (NOT) EXISTS in psql-completion
Date: Mon, 27 Feb 2017 23:07:46 -0800
Message-ID: <20170228070746.GA24888@fetter.org> (raw)
In-Reply-To: <20170228045317.GE9812@tamriel.snowman.net>
References: <CAB7nPqQ-FaDP6GdfAeNOdYMGNgohD7rEf6R92QyUyC0y+cOQ3A@mail.gmail.com>
	<1603.1488158409@sss.pgh.pa.us>
	<CAB7nPqQr7apg8W+p41W1azTjy7LSasSEvWvKePTU4knnxWCZkw@mail.gmail.com>
	<20170227.133305.68651190.horiguchi.kyotaro@lab.ntt.co.jp>
	<20170228045317.GE9812@tamriel.snowman.net>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

On Mon, Feb 27, 2017 at 11:53:17PM -0500, Stephen Frost wrote:
> * Kyotaro HORIGUCHI (horiguchi.kyotaro@lab.ntt.co.jp) wrote:
> > I suppose it is for suggesting what kind of word should come
> > there, or avoiding silence for a tab. Or for symmetry with other
> > types of manipulation, like DROP. Another possibility is creating
> > multiple objects with similar names, say CREATE TABLE employee_x1,
> > CREATE TABLE employee_x2. Just trying to complete existing
> > *schema* is one more another possible objective.
> 
> I don't buy any of these arguments either.  I *really* don't want us
> going down some road where we try to make sure that hitting 'tab'
> never fails...

Wouldn't that just be a correct, grammar-aware implementation of tab
completion?  Why wouldn't you want that?

Best,
David.
-- 
David Fetter <david(at)fetter(dot)org> http://fetter.org/
Phone: +1 415 235 3778  AIM: dfetter666  Yahoo!: dfetter
Skype: davidfetter      XMPP: david(dot)fetter(at)gmail(dot)com

Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers



view thread (90+ messages)  latest in thread

Message-ID: <20170228070746.GA24888@fetter.org>
Permalink:  ../20170228070746.GA24888@fetter.org/
Also on:    postgresql.org/message-id/20170228070746.GA24888@fetter.org

 · 

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: david@fetter.org, sfrost@snowman.net, horiguchi.kyotaro@lab.ntt.co.jp, michael.paquier@gmail.com, tgl@sss.pgh.pa.us, robertmhaas@gmail.com, pavel.stehule@gmail.com
  Subject: Re: IF (NOT) EXISTS in psql-completion
  In-Reply-To: <20170228070746.GA24888@fetter.org>

* 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