2011/1/21 KaiGai Kohei <kai...@ak.jp.nec.com>: > - Add checks to avoid inlining function without db_procedure:{execute} > permission. Sorry, process:{transition} shall be checked in other place.
Hrm. What happens if permissions change between plan time and execution time? For that matter, I wonder what happens with regular function permissions. If the plan inlines the function and then somebody goes and changes the permission on the function and makes it SECURITY DEFINER, what happens? -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers