Thread: pgsql-server/src/backend/rewrite rewriteDefine.c

pgsql-server/src/backend/rewrite rewriteDefine.c

From
tgl@svr1.postgresql.org (Tom Lane)
Date:
CVSROOT:    /cvsroot
Module name:    pgsql-server
Changes by:    tgl@svr1.postgresql.org    04/05/18 19:49:51

Modified files:
    src/backend/rewrite: rewriteDefine.c

Log message:
    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.