Re: Remote administration contrib module

From: "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>
To: <peter_e(at)gmx(dot)net>, <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: <dpage(at)vale-housing(dot)co(dot)uk>, <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Remote administration contrib module
Date: 2006-04-10 22:09:47
Message-ID: 01db01c65ceb$7f811c55$6a01a8c0@valehousing.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

-----Original Message-----
From: "Peter Eisentraut"<peter_e(at)gmx(dot)net>
Sent: 10/04/06 22:43:05
To: "Bruce Momjian"<pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: "Dave Page"<dpage(at)vale-housing(dot)co(dot)uk>, "pgsql-hackers(at)postgresql(dot)org"<pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [HACKERS] Remote administration contrib module

> If there are _security_ issues, they need to be fixed
> before things go into contrib.

(From memory) There were concerns, rather than actual issues. The functions are all superuser-only where appropriate, and while the only potentially destructive ones (pg_file_write, pg_file_rename, pg_file_unlink) can kill files under $PGDATA - but then, so can COPY just as easily.

> > This is similar to the fact we don't include plpgsql by default in
> > databases, for the same reason,

> I doubt that that is really the reason.

It's the only reason I ever heard.

/D

-----Unmodified Original Message-----
Bruce Momjian wrote:
> I think the issue was that adding these fuctions adds a potential
> security opening, so we didn't want it in core by default, but
> /contrib seems logical because anyone who needs it can just add it.

Well, if there are security issues, then this is a poor fix. A lot of
people use pgAdmin, many of them less experienced with PostgreSQL, so
before long all of these functions are going to be installed at many
sites anyway. If there are _security_ issues, they need to be fixed
before things go into contrib.

> This is similar to the fact we don't include plpgsql by default in
> databases, for the same reason,

I doubt that that is really the reason.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

Browse pgsql-hackers by date

  From Date Subject
Next Message Kris Jurka 2006-04-11 00:05:09 schema-qualified SET CONSTRAINTS
Previous Message Bruce Momjian 2006-04-10 22:03:29 Re: [GENERAL] PANIC: heap_update_redo: no block