Re: [HACKERS] Improve BEGIN tab completion

2016-09-02 Thread Andreas Karlsson
On 09/01/2016 11:28 PM, Kevin Grittner wrote: On Wed, May 18, 2016 at 8:59 AM, Andreas Karlsson 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 sup

Re: [HACKERS] Improve BEGIN tab completion

2016-09-01 Thread Kevin Grittner
On Wed, May 18, 2016 at 8:59 AM, Andreas Karlsson 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,

[HACKERS] Improve BEGIN tab completion

2016-05-18 Thread Andreas Karlsson
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 diff --git a/src/bin/psql/tab-complete.c b/src/bin/psql/t