]> granicus.if.org Git - postgresql/commit
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:18 +0000 (21:57 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 1 Jan 2003 21:57:18 +0000 (21:57 +0000)
commit573fe25203d8df257f01477bc429f0d0f311c3d6
treef9684aa2ae9c12d5a78a3aa77569b3e5ec4379c0
parent51225120ebfbc81d7c61b4abb513e37c7f8c5a99
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