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

Started by Michael Paquier6 months ago1 messagescomitters
Jump to latest
#1Michael Paquier
michael@paquier.xyz

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: /messages/by-id/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(-)