Re: pgsql/ oc/src/sgml/func.sgml oc/src/sgml/relea ... - Mailing list pgsql-committers

From Tom Lane
Subject Re: pgsql/ oc/src/sgml/func.sgml oc/src/sgml/relea ...
Date
Msg-id 11626.1021737619@sss.pgh.pa.us
Whole thread Raw
In response to pgsql/ oc/src/sgml/func.sgml oc/src/sgml/relea ...  (petere@postgresql.org (Peter Eisentraut - PostgreSQL))
Responses Re: pgsql/ oc/src/sgml/func.sgml oc/src/sgml/relea ...  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-committers
petere@postgresql.org (Peter Eisentraut - PostgreSQL) writes:
>     Allow functions to be executed with the privileges of the function owner.

Hmm.  Have you tried this with recursive plpgsql functions?  I have a
feeling that that little hack of replacing the flinfo link isn't gonna
work well in plpgsql, because of its caching of query plans.

Of course this is not so much the fault of your patch as it is of the
brain-dead notion of keeping runtime function caches in plan trees.
Maybe it's time to bite the bullet and do something about that.

            regards, tom lane

pgsql-committers by date:

Previous
From: petere@postgresql.org (Peter Eisentraut - PostgreSQL)
Date:
Subject: pgsql/ oc/src/sgml/ref/alter_table.sgml oc/src ...
Next
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql/src backend/optimizer/plan/planner.c bac ...