Thread: [HACKERS] [psql] patch to fix ordering in words_after_create array

[HACKERS] [psql] patch to fix ordering in words_after_create array

From
Rushabh Lathia
Date:
Hi All,

While looking at the code around tab-complete.c, I
found the ordering in words_after_create array is not
correct for DEFAULT PRIVILEGES, which been added
under below commit:

commit d7d77f3825122bde55be9e06f6c4851028b99795
Author: Peter Eisentraut <peter_e@gmx.net>
Date:   Thu Mar 16 18:54:28 2017 -0400

    psql: Add completion for \help DROP|ALTER

PFA patch to fix the same.

Thanks,
Rushabh Lathia
Attachment

Re: [HACKERS] [psql] patch to fix ordering in words_after_create array

From
Robert Haas
Date:
On Fri, Mar 24, 2017 at 7:10 AM, Rushabh Lathia
<rushabh.lathia@gmail.com> wrote:
> While looking at the code around tab-complete.c, I
> found the ordering in words_after_create array is not
> correct for DEFAULT PRIVILEGES, which been added
> under below commit:
>
> commit d7d77f3825122bde55be9e06f6c4851028b99795
> Author: Peter Eisentraut <peter_e@gmx.net>
> Date:   Thu Mar 16 18:54:28 2017 -0400
>
>     psql: Add completion for \help DROP|ALTER
>
> PFA patch to fix the same.

Committed.

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