pgsql: Fix security definer functions with polymorphic arguments. - Mailing list pgsql-committers

From tgl@postgresql.org (Tom Lane)
Subject pgsql: Fix security definer functions with polymorphic arguments.
Date
Msg-id 20070731155008.055AB9FB62E@postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
Fix security definer functions with polymorphic arguments.  This case has
never worked because fmgr_security_definer() neglected to pass the fn_expr
information through.  Per report from Viatcheslav Kalinin.

Tags:
----
REL8_0_STABLE

Modified Files:
--------------
    pgsql/src/backend/utils/fmgr:
        fmgr.c (r1.88.4.1 -> r1.88.4.2)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/fmgr/fmgr.c.diff?r1=1.88.4.1&r2=1.88.4.2)

pgsql-committers by date:

Previous
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Fix security definer functions with polymorphic arguments.
Next
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: If we're gonna use ExecRelationIsTargetRelation here, might as