Re: ERROR: argument to pg_get_expr() must come from system catalogs - Mailing list pgsql-hackers

From Dave Page
Subject Re: ERROR: argument to pg_get_expr() must come from system catalogs
Date
Msg-id AANLkTinYXTxrTs4Unpd_zLF+Qgd5HG0aq+eqeAEDBXfO@mail.gmail.com
Whole thread Raw
In response to Re: ERROR: argument to pg_get_expr() must come from system catalogs  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: ERROR: argument to pg_get_expr() must come from system catalogs
List pgsql-hackers
On Fri, Jul 30, 2010 at 12:17 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Dave Page <dpage@pgadmin.org> writes:
>> We had a report of the above error from a pgAdmin user testing
>> 1.12.0b3 with PG 9.0b3. The (highly simplified) query below works fine
>> as a superuser:
>
>> SELECT pg_get_expr(proargdefaults, 'pg_catalog.pg_class'::regclass)
>>   FROM pg_proc pr
>>   LEFT OUTER JOIN pg_description des ON des.objoid=pr.oid
>
>> Run as a regular user though, we get the error.
>
> I've applied a (rather hurried) patch for this for 9.0beta4.

Thanks. Bruce seemed to think it affected 8.4.4 as well - would that
be the case, or is it something else?


--
Dave Page
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise Postgres Company


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: reducing NUMERIC size for 9.1
Next
From: Pavel Stehule
Date:
Subject: Re: patch (for 9.1) string functions ( correct patch attached )