pgsql: Do not filter by relkind in vacuumdb's catalog query if --table

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Do not filter by relkind in vacuumdb's catalog query if --table
Date: 2019-01-30 00:45:25
Message-ID: E1goe0L-0007ba-HX@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Do not filter by relkind in vacuumdb's catalog query if --table is used

If a user specifies a relation name which cannot be processed, then the
backend can warn directly about what is wrong with it. This fixes an
oversight from e0c2933.

Author: Nathan Bossart
Discussion: https://postgr.es/m/32049A78-C429-4742-AEC1-941C9ABDE7B8@amazon.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/b8f73df0f845d865823ef72669024dc150282392

Modified Files
--------------
src/bin/scripts/t/100_vacuumdb.pl | 9 ++++++++-
src/bin/scripts/vacuumdb.c | 13 ++++++++++---
2 files changed, 18 insertions(+), 4 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2019-01-30 07:58:56 pgsql: Fix a crash in logical replication
Previous Message Tom Lane 2019-01-29 21:49:32 pgsql: Rename nodes/relation.h to nodes/pathnodes.h.