fastpath code neglected to check whether user has privileges to call the

Tom Lane <tgl@sss.pgh.pa.us>

Commit: d6dbb6b283468a0686edb4ff3b18fe9722ab7cbd
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2003-01-01T21:57:05Z
Releases: 7.4.1
fastpath code neglected to check whether user has privileges to call the
target function.  Also, move SetQuerySnapshot() call to avoid assert
failure when a fastpath call is attempted in an aborted transaction.

Files

PathChange+/−
src/backend/tcop/fastpath.c modified +16 −1
src/backend/tcop/postgres.c modified +2 −5