Re: [COMMITTERS] pgsql: Add a hook in ExecCheckRTPerms().
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Simon Riggs <simon@2ndQuadrant.com>
Cc: Robert Haas <rhaas@postgresql.org>, pgsql-hackers@postgresql.org
Date: 2010-07-09T18:01:11Z
Lists: pgsql-hackers
Simon Riggs <simon@2ndQuadrant.com> writes: > On Fri, 2010-07-09 at 13:21 -0400, Tom Lane wrote: >> Except that it *is* a change in behavior: the first check will occur >> too soon. > Sooner matters why? Consider PREPARE followed only later by EXECUTE. Your proposal would make the PREPARE fail outright, when it currently does not. regards, tom lane