Re: Security Issue.. - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Security Issue..
Date
Msg-id 200204150238.g3F2cQO16994@candle.pha.pa.us
Whole thread Raw
In response to Re: Security Issue..  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane wrote:
> But having said that, I do not foresee being able to replace direct
> pg_catalog access with INFORMATION_SCHEMA views anytime soon.  There
> are too many clients out there that are used to doing it that way.
> 
> Moreover, pg_dump will never be able to work off INFORMATION_SCHEMA,
> because it needs to get at Postgres-specific information that will
> not be available from a spec-compliant set of views.  I'm fairly
> dubious about converting psql, even.
> 
> Rod's welcome to work on developing a set of spec-compliant
> INFORMATION_SCHEMA views ... and maybe he can even turn off public
> read access to pg_catalog in his own installation ... but he should
> not expect us to accept a patch that makes that the default anytime
> in the foreseeable future.

Yes, it would be nice to have spec-compliant stuff.  However, things
like psql really get into those catalogs and grab detailed information
that is probably not covered the the spec.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: regexp character class locale awareness patch
Next
From: "Rod Taylor"
Date:
Subject: Re: Security Issue..