[psql] patch to fix ordering in words_after_create array

Started by Rushabh Lathiaover 9 years ago2 messageshackers
Jump to latest
#1Rushabh Lathia
rushabh.lathia@gmail.com

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
www.EnterpriseDB.com

Attachments:

tab-complete-words_after_create.patchtext/x-patch; charset=US-ASCII; name=tab-complete-words_after_create.patchDownload+1-1
#2Robert Haas
robertmhaas@gmail.com
In reply to: Rushabh Lathia (#1)
Re: [psql] patch to fix ordering in words_after_create array

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

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers