Re: [DOCS] Partition: use triggers instead of rules

From: Jeremy Drake <pgsql(at)jdrake(dot)com>
To: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
Cc: David Fetter <david(at)fetter(dot)org>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL Docs <pgsql-docs(at)postgresql(dot)org>, PostgreSQL Patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: [DOCS] Partition: use triggers instead of rules
Date: 2007-11-29 06:23:41
Message-ID: Pine.BSO.4.64.0711282219370.8039@resin.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs pgsql-patches

On Wed, 28 Nov 2007, Alvaro Herrera wrote:

> David Fetter wrote:
>
> > Greg Sabino Mullane managed to contrive an example where RULEs might
> > conceivably be the least-bad way to do this, that being a machine
> > where no PLs may be installed.
>
> Perhaps this just means we should consider installing plpgsql by
> default.

I have run into this myself, and a patch that I contributed (which made it
in to 8.3) made it possible for a database owner to create trusted
languages from templates in the default configuration. Which means that
if an admin wants to prevent usage of the language, they can revoke the
right to create it, but db owners still "opt-in" to any languages they
want.

In response to

Browse pgsql-docs by date

  From Date Subject
Next Message David Fetter 2007-11-29 06:36:41 Re: [PATCHES] Partition: use triggers instead of rules
Previous Message Tom Lane 2007-11-29 05:55:53 Re: [PATCHES] Partition: use triggers instead of rules

Browse pgsql-patches by date

  From Date Subject
Next Message David Fetter 2007-11-29 06:36:41 Re: [PATCHES] Partition: use triggers instead of rules
Previous Message Tom Lane 2007-11-29 06:09:50 Re: Re: [HACKERS] [GENERAL] plperl and regexps with accented characters - incompatible?