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

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: oid2name: Add relation path to the information provided by -x/--
Date: 2026-02-05 00:02:37
Message-ID: E1vnmpR-001B4q-0F@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: 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(at)gmail(dot)com>
Reviewed-by: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
Reviewed-by: Guillaume Lelarge <guillaume(dot)lelarge(at)dalibo(dot)com>
Reviewed-by: Euler Taveira <euler(at)eulerto(dot)com>
Reviewed-by: Mark Wong <markwkm(at)gmail(dot)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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Masahiko Sawada 2026-02-05 01:11:51 pgsql: pg_upgrade: Optimize logical replication slot caught-up check.
Previous Message Álvaro Herrera 2026-02-04 17:36:13 pgsql: Assign "backend" type earlier during process start-up