[psql] patch to fix ordering in words_after_create array

From: Rushabh Lathia <rushabh(dot)lathia(at)gmail(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: [psql] patch to fix ordering in words_after_create array
Date: 2017-03-24 11:10:36
Message-ID: CAGPqQf3yKG0Eo04ePfLPG_-KTo=7ZkxbGDVUWfSGN35Y3SG+PA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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(at)gmx(dot)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

Attachment Content-Type Size
tab-complete-words_after_create.patch text/x-patch 861 bytes

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Dave Page 2017-03-24 11:35:19 Re: [COMMITTERS] pgsql: Fix and simplify check for whether we're running as Windows serv
Previous Message Pavan Deolasee 2017-03-24 11:00:26 Re: Patch: Write Amplification Reduction Method (WARM)