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

Re: Eliminate information_schema from oid2name listing

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: 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-21 13:36:47
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-patches
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

In response to


pgsql-patches by date

Next:From: Bruce MomjianDate: 2003-07-21 15:20:05
Subject: Re: [BUGS] pg_tables view definition incorrect??
Previous:From: Rod TaylorDate: 2003-07-21 12:36:13
Subject: Re: Release.sgml markup

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