oid2name

From: Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl>
To: Patches <pgsql-patches(at)postgresql(dot)org>
Subject: oid2name
Date: 2004-09-14 18:49:50
Message-ID: 20040914184950.GA11770@dcc.uchile.cl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

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)

Attachment Content-Type Size
oid2name.patch text/plain 34.8 KB

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Alvaro Herrera 2004-09-14 22:24:54 Translation updates
Previous Message Mahmoud Taghizadeh 2004-09-14 13:43:52 a simple solution for locale per column