Re: adminpack and pg_catalog

From: "Simon Riggs" <simon(at)2ndquadrant(dot)com>
To: "Dave Page" <dpage(at)postgresql(dot)org>
Cc: "Neil Conway" <neilc(at)samurai(dot)com>, "Peter Eisentraut" <peter_e(at)gmx(dot)net>, <pgsql-hackers(at)postgresql(dot)org>, "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>
Subject: Re: adminpack and pg_catalog
Date: 2006-11-06 18:12:25
Message-ID: 1162836745.30200.96.camel@silverbirch.site
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, 2006-11-06 at 09:02 +0000, Dave Page wrote:
> Neil Conway wrote:
> > On Fri, 2006-10-20 at 22:59 +0200, Peter Eisentraut wrote:
> >> Nothing except initdb should add objects in pg_catalog. AFAICS,
> >> adminpack doesn't have any special requirements, so it should behave
> >> like all other contrib modules.
> >
> > Where are we on this? When this topic was last discussed, the three
> > alternatives were:
> >
> > (1) Modify contrib/adminpack to not use the pg_catalog schema,
> > per the consensus that contrib/ packages installing objects
> > into that schema is broken behavior
> >
> > (2) Don't modify contrib/adminpack, for the sake of backward
> > compatibility
> >
> > (3) Remove contrib/adminpack from the Postgres distribution
> >
> > I think the discussion was edging toward #3, but #2 is the only option
> > that I'm not happy with. Any other opinions out there?
>
> Looking back over the thread, it appears that only you and Peter
> objected to it as it is now. Tom, Andreas and myself were of the opinion
> it was fine as it is, and whilst he didn't comment on how it should be
> implemented, Simon made the point that supporting admin tools from the
> core distribution was important which I take to mean he is against #3.

Definitely against #3. [Argument: not just pgAdmin, essential feature]

At the moment we only allow 2 types of table. Approved core catalog
tables and user tables.

ISTM we need 3 types of tables, with the additional type being add-on
system functionality, such as adminpack, but also possibly including
performance logging tables, extended trace tools, security packages
(e.g. Veil) etc etc. We have made provision for user add-ons to allocate
LWlocks and shared memory, but no provision for additional tables.
Surely we must be able to accommodate things as simple as additional
tables?

So we would then have (change names as appropriate)
- core catalog
- catalog extensions
- user tables.

--
Simon Riggs
EnterpriseDB http://www.enterprisedb.com

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Matt Miller 2006-11-06 18:21:19 cvs 'initdb' -- "vacuuming database template1 ... FATAL: could not identify a comparison function for type aclitem"
Previous Message Tom Lane 2006-11-06 15:49:42 Re: Is python 2.5 supported?