Re: [GENERAL] restore error - language "plperlu" is not trusted

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: Christopher Murtagh <christopher(dot)murtagh(at)mcgill(dot)ca>, pgsql-patches(at)postgresql(dot)org
Subject: Re: [GENERAL] restore error - language "plperlu" is not trusted
Date: 2003-12-18 20:45:43
Message-ID: 24133.1071780343@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-patches

Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
> Attached is my proposed patch for this problem, to be put in 7.4.1.
> Please someone give it a quick check.

The aclchk change looks okay if that's the behavior you want, but I
wonder why you don't just make it raise error in both the GRANT and
REVOKE cases.

The pg_dump change looks okay for the 7.4 branch. It will not apply to
HEAD but I think you can just add

if (plang->lanpltrusted)

before the dumpACL call in that case.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Joe Conway 2003-12-18 21:12:49 Re: functions returning sets
Previous Message Robert Treat 2003-12-18 20:40:44 Re: Replication

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2003-12-19 05:12:04 Re: replace all with * in pg_hba.conf
Previous Message Peter Eisentraut 2003-12-18 20:28:51 Re: [GENERAL] restore error - language "plperlu" is not trusted