Patchers,
Here is a patch bringing oid2name into the 21st century. Supports
schemas (thought you can't select what schema to display), tablespaces,
and using -o for OIDs and -f for filenames (pg_class.relfilenode). Also
-t now accepts LIKE patterns. There can be multiple and mixed -o, -f
and -t arguments, and it will show all the objects in one go.
By default it only shows filenode and relation name, though a -x switch
makes it include tablespace name, schema name and OID.
Also, the headers are prettier.
Please comment, review and/or apply.
--
Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
"Cuando no hay humildad las personas se degradan" (A. Christie)