[patch] psql tab completion for ALTER DEFAULT PRIVILEGES - Mailing list pgsql-hackers

From Gilles Darold
Subject [patch] psql tab completion for ALTER DEFAULT PRIVILEGES
Date
Msg-id 1614593c-e356-5b27-6dba-66320a9bc68b@dalibo.com
Whole thread Raw
Responses Re: [patch] psql tab completion for ALTER DEFAULT PRIVILEGES
List pgsql-hackers
Hi,

When tab-completing after ALTER DEFAULT PRIVILEGES ... GRANT|REVOKE,
currently psql injects completion from the GRANT|REVOKE order, rather
than the one expected.

A patch is attached. It adds the right completion to GRANT|REVOKE after
ALTER DEFAULT PRIVILEGES and after FOR ROLE|USER + IN SCHEMA.

If there's no objection I will add it to next commit fest.

Best regards,

--
Gilles Darold
Consultant PostgreSQL
http://dalibo.com - http://dalibo.org


Attachment

pgsql-hackers by date:

Previous
From: Andreas Seltenreich
Date:
Subject: [sqlsmith] Parallel worker crash on seqscan
Next
From: Andrew Dunstan
Date:
Subject: Re: Mail thread references in commits