Search Postgresql Archives

Re: anyone using oid2name?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxx> 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@xxxxxxxxxx>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + Everyone has their own god. +


-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux