Re: [HACKERS] view vs. inheritance hierarchy (was: Bug(?) in pg_get_ruledef()) - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [HACKERS] view vs. inheritance hierarchy (was: Bug(?) in pg_get_ruledef())
Date
Msg-id 1922.941204864@sss.pgh.pa.us
Whole thread Raw
In response to view vs. inheritance hierarchy (was: Bug(?) in pg_get_ruledef())  (Zakkr <zakkr@zf.jcu.cz>)
Responses Patch - Re: [HACKERS] view vs. inheritance hierarchy  (Karel Zak - Zakkr <zakkr@zf.jcu.cz>)
List pgsql-hackers
Zakkr <zakkr@zf.jcu.cz> writes:
> But the pg_get_ruledef() not discern contrast between view rules
> defined as 'select * table' and rules defined as 'select * table*'
> (the query should be run over all classes in the inheritance
> hierarchy).

>  Is it a bug or a limitation?

Sounds like a bug to me too.  The fix is probably just a small addition
of code, but I haven't had time to look into it.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Karel Zak - Zakkr
Date:
Subject: Re: [HACKERS] view vs. inheritance hierarchy (was: Bug(?) in pg_get_ruledef())
Next
From: Tom Lane
Date:
Subject: Re: [HACKERS] view vs. inheritance hierarchy (was: Bug(?) in pg_get_ruledef())