postgresql/src/backend
Tom Lane bf64a37909 Fix Assert failure when a fastpath function call is attempted inside an
already-aborted transaction block.  GetSnapshotData throws an Assert if
not in a valid transaction; hence we mustn't attempt to set a snapshot
for the function until after checking for aborted transaction.  This is
harmless AFAICT if Asserts aren't enabled (GetSnapshotData will compute
a bogus snapshot, but it doesn't matter since HandleFunctionRequest will
throw an error shortly anywy).  Hence, not a major bug.

Along the way, add some ability to log fastpath calls when statement
logging is turned on.  This could probably stand to be improved further,
but not logging anything is clearly undesirable.

Backpatched as far as 8.0; bug doesn't exist before that.
2006-06-11 15:49:28 +00:00
..
access Som improve page split in multicolumn GiST index. 2006-05-29 12:50:06 +00:00
bootstrap Fix bootstrap.c so that database startup process and bgwriter properly release 2006-06-08 23:55:48 +00:00
catalog Move conversion dependency patch to the proper branch, out of 8.1.X, 2006-05-30 13:36:30 +00:00
commands Have REINDEX use NOTICE, so it can be suppressed. 2006-06-07 17:20:17 +00:00
executor Revert sampling patch for EXPLAIN ANALYZE; it turns out to be too unreliable 2006-06-09 19:30:56 +00:00
lib Update copyright for 2006. Update scripts. 2006-03-05 15:59:11 +00:00
libpq Prepare code to be built by MSVC: 2006-06-07 22:24:46 +00:00
main Update copyright for 2006. Update scripts. 2006-03-05 15:59:11 +00:00
nodes Improve the representation of FOR UPDATE/FOR SHARE so that we can 2006-04-30 18:30:40 +00:00
optimizer Remove "fuzzy comparison" logic in qsort comparison function for 2006-06-07 17:08:07 +00:00
parser Re-introduce the yylex filter function formerly used to support UNION 2006-05-27 17:38:46 +00:00
po Fix copy-and-pasteo in Russian translation: message complaining about 2006-06-03 16:48:59 +00:00
port Remove Win32 file, moved to /port. 2006-06-08 15:15:13 +00:00
postmaster Prepare code to be built by MSVC: 2006-06-07 22:24:46 +00:00
regex Re-run pgindent, fixing a problem where comment lines after a blank 2005-11-22 18:17:34 +00:00
rewrite Improve the representation of FOR UPDATE/FOR SHARE so that we can 2006-04-30 18:30:40 +00:00
storage Remove obsolete comment about VACUUM FULL: it takes buffer content locks 2006-06-08 14:58:33 +00:00
tcop Fix Assert failure when a fastpath function call is attempted inside an 2006-06-11 15:49:28 +00:00
utils Allow timezone names in SQL strings, 2006-06-07 22:32:31 +00:00
Makefile Remove QNX port. 2006-01-05 01:56:30 +00:00
nls.mk Add _ to gettext triggers. Must have been forgotten here when it was introduced. 2005-10-04 11:14:03 +00:00