setRuleCheckAsUser has to be applied to any subqueries appearing in a

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 07f2b767dc7c11779590a02da455f3c21c0c937b
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2004-05-18T22:49:51Z
Releases: 8.0.0
setRuleCheckAsUser has to be applied to any subqueries appearing in a
rule's event_qual, not only to the rule's action.  Per example from
Arturs Zoldners.

Files

PathChange+/−
src/backend/rewrite/rewriteDefine.c modified +17 −8