]> git.ipfire.org Git - thirdparty/postgresql.git/commit
oid2name: Add relation path to the information provided by -x/--extended
authorMichael Paquier <michael@paquier.xyz>
Thu, 5 Feb 2026 00:02:12 +0000 (09:02 +0900)
committerMichael Paquier <michael@paquier.xyz>
Thu, 5 Feb 2026 00:02:12 +0000 (09:02 +0900)
commit3c5ec35dea254892d75d829b5642fc3732c8fcf9
treed597d3a601f97e6a631c880e4cd9909e65952717
parent0c8e082fba8d36434552d3d7800abda54acafd57
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
contrib/oid2name/oid2name.c
doc/src/sgml/oid2name.sgml