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@gmx.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@momjian.us> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ Everyone has their own god. +