Re: anyone using oid2name?

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Jeff Janes <jeff(dot)janes(at)gmail(dot)com>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: anyone using oid2name?
Date: 2014-12-12 18:10:18
Message-ID: 20141212181018.GB14584@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, Dec 12, 2014 at 09:18:01AM -0800, Jeff Janes wrote:
> On Fri, Dec 12, 2014 at 6:18 AM, Peter Eisentraut <peter_e(at)gmx(dot)net> wrote:
>
> pgsql-hackers are discussing some housekeeping in contrib.
>
> Is anyone using the oid2name tool?
>
> Otherwise, we might deprecate and eventually remove it.
>
>
> I use it occasionally (but really dislike it) during testing and debugging, to
> help decipher what is going on.  It is a chain of information flow from strace
> to lsof to oid2name.
>
> I could probably use pg_class instead if I could ever remember what the
> difference was between oid and relfilenode.

The fact oid2name is called that, but references relfilenode, doesn't
help my memory either. ;-)

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ Everyone has their own god. +

In response to

Browse pgsql-general by date

  From Date Subject
Next Message David G Johnston 2014-12-12 18:40:27 Re: Removing duplicate records from a bulk upload (rationale behind selecting a method)
Previous Message Jeff Janes 2014-12-12 17:18:01 Re: anyone using oid2name?