OSDN Git Service

fastpath code neglected to check whether user has privileges to call the
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 1 Jan 2003 21:57:05 +0000 (21:57 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 1 Jan 2003 21:57:05 +0000 (21:57 +0000)
commitd6dbb6b283468a0686edb4ff3b18fe9722ab7cbd
tree3289158afdaf40fef84ba5da3cd8702fdfd69d17
parenta26ac42b7663387b69e3f53bddc7d9f8543d8317
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.
src/backend/tcop/fastpath.c
src/backend/tcop/postgres.c