Skip site navigation (1) Skip section navigation (2)

pgsql: Fix security definer functions with polymorphic arguments.

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix security definer functions with polymorphic arguments.
Date: 2007-07-31 15:50:17
Message-ID: 20070731155017.D00479FB837@postgresql.org (view raw or flat)
Thread:
Lists: 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:
----
REL7_4_STABLE

Modified Files:
--------------
    pgsql/src/backend/utils/fmgr:
        fmgr.c (r1.76 -> r1.76.2.1)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/fmgr/fmgr.c.diff?r1=1.76&r2=1.76.2.1)

pgsql-committers by date

Next:From: Tom LaneDate: 2007-07-31 16:36:07
Subject: pgsql: If we're gonna use ExecRelationIsTargetRelation here, might as
Previous:From: Tom LaneDate: 2007-07-31 15:50:08
Subject: pgsql: Fix security definer functions with polymorphic arguments.

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group