pgsql: psql: Add tab completion for logical replication

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: psql: Add tab completion for logical replication
Date: 2017-03-03 19:14:41
Message-ID: E1cjsf3-00061O-Py@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

psql: Add tab completion for logical replication

Add tab completion for publications and subscriptions. Also, to be able
to get a list of subscriptions, make pg_subscription world-readable but
revoke access to subconninfo using column privileges.

From: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/6f236e1eb8c7601bded96fd96244d676e95b8c26

Modified Files
--------------
doc/src/sgml/catalogs.sgml | 5 ++---
src/backend/catalog/system_views.sql | 4 ++++
src/bin/psql/tab-complete.c | 23 ++++++++++++++++++++---
src/include/catalog/catversion.h | 2 +-
src/include/catalog/pg_subscription.h | 2 ++
5 files changed, 29 insertions(+), 7 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2017-03-03 20:04:01 pgsql: doc: Put callouts in SQL comments
Previous Message Peter Eisentraut 2017-03-03 15:47:48 pgsql: Add RENAME support for PUBLICATIONs and SUBSCRIPTIONs