Re: [HACKERS] IF (NOT) EXISTS in psql-completion - Mailing list pgsql-hackers

From David Fetter
Subject Re: [HACKERS] IF (NOT) EXISTS in psql-completion
Date
Msg-id 20170228070746.GA24888@fetter.org
Whole thread Raw
In response to Re: [HACKERS] IF (NOT) EXISTS in psql-completion  (Stephen Frost <sfrost@snowman.net>)
Responses Re: [HACKERS] IF (NOT) EXISTS in psql-completion
List pgsql-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



pgsql-hackers by date:

Previous
From: "Okano, Naoki"
Date:
Subject: Re: [HACKERS] Keep ECPG comment for log_min_duration_statement
Next
From: "Tsunakawa, Takayuki"
Date:
Subject: [HACKERS] Statement-level rollback