pgsql: oid2name: Add relation path to the information provided by -x/-- - Mailing list pgsql-committers

From Michael Paquier
Subject pgsql: oid2name: Add relation path to the information provided by -x/--
Date
Msg-id E1vnmpR-001B4q-0F@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
oid2name: Add relation path to the information provided by -x/--extended

This affects two command patterns, showing information about relations:
* oid2name -x -d DBNAME, applying to all relations on a database.
* oid2name -x -d DBNAME -t TABNAME [-t ..], applying to a subset of
defined relations on a database.

The relative path of a relation is added to the information provided,
using pg_relation_filepath().

Author: David Bidoc <dcbidoc@gmail.com>
Reviewed-by: Laurenz Albe <laurenz.albe@cybertec.at>
Reviewed-by: Guillaume Lelarge <guillaume.lelarge@dalibo.com>
Reviewed-by: Euler Taveira <euler@eulerto.com>
Reviewed-by: Mark Wong <markwkm@gmail.com>
Discussion: https://postgr.es/m/CABour1v2CU1wjjoM86wAFyezJQ3-+ncH43zY1f1uXeVojVN8Ow@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/3c5ec35dea254892d75d829b5642fc3732c8fcf9

Modified Files
--------------
contrib/oid2name/oid2name.c |  4 ++--
doc/src/sgml/oid2name.sgml  | 10 +++++-----
2 files changed, 7 insertions(+), 7 deletions(-)


pgsql-committers by date:

Previous
From: Álvaro Herrera
Date:
Subject: pgsql: Assign "backend" type earlier during process start-up
Next
From: Masahiko Sawada
Date:
Subject: pgsql: pg_upgrade: Optimize logical replication slot caught-up check.