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

From Tom Lane
Subject Re: ERROR: argument to pg_get_expr() must come from system catalogs
Date
Msg-id 28698.1280445447@sss.pgh.pa.us
Whole thread Raw
In response to ERROR: argument to pg_get_expr() must come from system catalogs  (Dave Page <dpage@pgadmin.org>)
Responses Re: ERROR: argument to pg_get_expr() must come from system catalogs
List pgsql-hackers
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.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: reducing NUMERIC size for 9.1
Next
From: "Kevin Grittner"
Date:
Subject: review patch: Distinguish between unique indexes and unique constraints