Re: Improved tab completion for FDW DDL - Mailing list pgsql-hackers

From Andreas Karlsson
Subject Re: Improved tab completion for FDW DDL
Date
Msg-id 568E69FE.6080700@proxel.se
Whole thread Raw
In response to Re: Improved tab completion for FDW DDL  (David Fetter <david@fetter.org>)
Responses Re: Improved tab completion for FDW DDL
List pgsql-hackers
On 01/04/2016 01:09 AM, David Fetter wrote:
> On Wed, Dec 30, 2015 at 01:21:06PM +0100, Andreas Karlsson wrote:
>> Another completion which is currently missing but I am not sure if we should
>> add or not is completing "ALTER|CREATE|DROP USER" with "MAPPING FOR", but
>> since it might interfere with completing to username for "ALTER|DROP USER" I
>> am not sure we want it. What do you think?
>
> Is there a way to require some reasonable chunk--say, one that's
> disambiguated from the name any known ROLE with LOGIN--of MAPPING
> before completing with MAPPING FOR?  I confess to not knowing how the
> new system works in enough detail to know that off the top of my head.

No, and while it would not be too hard to build it would not be worth 
doing just for this use case.

Andreas



pgsql-hackers by date:

Previous
From: Greg Stark
Date:
Subject: Re: Proposal: BSD Authentication support
Next
From: Andres Freund
Date:
Subject: Re: checkpointer continuous flushing