Re: Tab completion for ALTER ... SET SCHEMA

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Andreas Karlsson <andreas(at)proxel(dot)se>
Cc: PG Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Tab completion for ALTER ... SET SCHEMA
Date: 2010-12-18 02:20:57
Message-ID: AANLkTimLhDoOt5qqyQ_nyPRT6G0erbj-wSCDGg_39JL+@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Dec 17, 2010 at 9:14 PM, Andreas Karlsson <andreas(at)proxel(dot)se> wrote:
> Ah, sorry forgot the most important part of my explanation.
>
> What it does is gets rid of the incorrect completion which comes from
> the completion rule for "SET foo TO bar" by adding the correct
> completion for "SET SCHEMA" higher up in the completion function.
>
> So instead of an incorrect completion we get the correct one.

But that's not necessarily wrong, if "foo" happens to be the name of a GUC.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andreas Karlsson 2010-12-18 02:30:11 Re: Tab completion for ALTER ... SET SCHEMA
Previous Message Andreas Karlsson 2010-12-18 02:14:11 Re: Tab completion for ALTER ... SET SCHEMA