Re: [HACKERS] Installing PL/pgSQL by default

From: Dimitri Fontaine <dfontaine(at)hi-media(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Andrew Gierth <andrew(at)tao11(dot)riddles(dot)org(dot)uk>, PGSQL Mailing List <pgsql-general(at)postgresql(dot)org>, pgsql-hackers(at)postgresql(dot)org, Bruce Momjian <bruce(at)momjian(dot)us>, Kevin Grittner <Kevin(dot)Grittner(at)wicourts(dot)gov>, Robert Haas <robertmhaas(at)gmail(dot)com>, Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>, Thom Brown <thombrown(at)gmail(dot)com>, Andrew Dunstan <andrew(at)dunslane(dot)net>, Craig Ringer <craig(at)postnewspapers(dot)com(dot)au>
Subject: Re: [HACKERS] Installing PL/pgSQL by default
Date: 2009-12-07 15:56:32
Message-ID: 873a3mkcb3.fsf@hi-media-techno.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> writes:
> Why not? If they really want to prohibit use of a feature the upstream
> project has decided should be standard, that's their privilege.

Well, I guess they could also automate their database creation to fix
the privileges and assign the ownership of the language to the owner of
the database. Then whether or not to have plpgsql there is up to the
owner.

For non-hosted environments, you always want to tweak some things, like
installing plpgsql in the first place. So...

> The argument against seems to be basically "this should work exactly
> like it did before", but if that's the standard then we can never
> have plpgsql installed by default at all.

Don't get me wrong, I'm all for having plpgsql installed by default.

I though we were talking about how to provide that and trying to decide
if having to be superuser to drop plpgsql after having created the
database is blocking the way forward, knowing than installing the
language only requires being database owner.

Regards,
--
dim

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Kevin Grittner 2009-12-07 16:28:41 Re: [HACKERS] New PostgreSQL Committers
Previous Message Jaime Casanova 2009-12-07 15:52:18 Re: [HACKERS] New PostgreSQL Committers

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2009-12-07 15:59:00 Re: cvs chapters in our docs
Previous Message Tom Lane 2009-12-07 15:55:48 Re: Adding support for SE-Linux security