Skip site navigation (1) Skip section navigation (2)

Re: Eliminate information_schema from oid2name listing

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>,Kenji Sugita <sugita(at)srapc1327(dot)sra(dot)co(dot)jp>,pgsql-patches(at)postgresql(dot)org
Subject: Re: Eliminate information_schema from oid2name listing
Date: 2003-07-27 04:44:34
Message-ID: 200307270444.h6R4iYB06465@candle.pha.pa.us (view raw or flat)
Thread:
Lists: pgsql-patches
Patch attached and applied.

---------------------------------------------------------------------------

Tom Lane wrote:
> Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
> > Kenji Sugita writes:
> >> This small patch eliminates relations in information_schema from oid2name
> >> listing.
> 
> > Why would one want to do that?
> 
> AFAICS the point of oid2name is to provide a mapping between disk file
> names and table names.  As such, what it *ought* to be doing is
> suppressing views, since those don't have disk files --- they are only
> cluttering the listing with irrelevant data.  If we put that in, there'd
> be no need to special-case information_schema.
> 
> 			regards, tom lane
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 8: explain analyze is your friend
> 

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman(at)candle(dot)pha(dot)pa(dot)us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

In response to

Responses

pgsql-patches by date

Next:From: Bruce MomjianDate: 2003-07-27 04:52:19
Subject: Re: timetravel.c
Previous:From: Bruce MomjianDate: 2003-07-27 04:35:54
Subject: Re: [HACKERS] allowed user/db variables

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group