Re: [HACKERS] pg_user problem - Mailing list pgsql-hackers

From Thomas G. Lockhart
Subject Re: [HACKERS] pg_user problem
Date
Msg-id 35F94D08.C39F240D@alumni.caltech.edu
Whole thread Raw
In response to pg_user problem  (Tatsuo Ishii <t-ishii@sra.co.jp>)
List pgsql-hackers
> Hi, please apply following patches to rewrite/rewriteManip.c.
> This seems to fix the "pg_user problem." (I am not very familiar
> with the rule/rewrite area, so my understanding may be wrong)
> The original code sets varlevelsup even if the node is not
> variable node. This assumption is not always correct, for example
> with the password column of pg_user view.
> Anyway, with the patch the select_view test is now ok on my LiuxPPC
> box.

I haven't tried it yet, but great work! That fits in with the
observation that the password column seemed to trigger the failure.

Will report on success this evening...

                    - Tom

pgsql-hackers by date:

Previous
From: "Thomas G. Lockhart"
Date:
Subject: Re: [HACKERS] more on int8
Next
From: Bruce Momjian
Date:
Subject: pgrewrite: was Re: [HACKERS] pg_user problem