Thread: Improve BEGIN tab completion

Improve BEGIN tab completion

From
Andreas Karlsson
Date:
Hi,

I noticed that the tab completion was not aware of that TRANSACTION/WORK
is optional in BEGIN, and that we do not complete [NOT] DEFERRABLE.

While fixing it I also improved the completion support for SET SESSION
slightly.

Andreas

Attachment

Re: Improve BEGIN tab completion

From
Kevin Grittner
Date:
On Wed, May 18, 2016 at 8:59 AM, Andreas Karlsson <andreas@proxel.se> wrote:

> I noticed that the tab completion was not aware of that TRANSACTION/WORK is
> optional in BEGIN, and that we do not complete [NOT] DEFERRABLE.
>
> While fixing it I also improved the completion support for SET SESSION
> slightly.

Pushed, with an adjustment to handle SET TRANSACTION SNAPSHOT, too.

Thanks!

-- 
Kevin Grittner
EDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



Re: Improve BEGIN tab completion

From
Andreas Karlsson
Date:
On 09/01/2016 11:28 PM, Kevin Grittner wrote:
> On Wed, May 18, 2016 at 8:59 AM, Andreas Karlsson <andreas@proxel.se> wrote:
>> I noticed that the tab completion was not aware of that TRANSACTION/WORK is
>> optional in BEGIN, and that we do not complete [NOT] DEFERRABLE.
>>
>> While fixing it I also improved the completion support for SET SESSION
>> slightly.
>
> Pushed, with an adjustment to handle SET TRANSACTION SNAPSHOT, too.

Thanks!

Andreas