postgresql/src
Robert Haas 6cb4afff33 Avoid setup work for invalidation messages at start-of-(sub)xact.
Instead of initializing a new TransInvalidationInfo for every
transaction or subtransaction, we can just do it for those
transactions or subtransactions that actually need to queue
invalidation messages.  That also avoids needing to free those
entries at the end of a transaction or subtransaction that does
not generate any invalidation messages, which is by far the
common case.

Patch by me.  Review by Simon Riggs and Andres Freund.
2014-10-29 12:35:19 -04:00
..
backend Avoid setup work for invalidation messages at start-of-(sub)xact. 2014-10-29 12:35:19 -04:00
bin Avoid unportable strftime() behavior in pg_dump/pg_dumpall. 2014-10-26 20:59:21 -04:00
common Small message fixes 2014-08-09 00:07:00 -04:00
include Avoid setup work for invalidation messages at start-of-(sub)xact. 2014-10-29 12:35:19 -04:00
interfaces Reset error message at PQreset() 2014-10-29 14:34:43 +02:00
makefiles MinGW: Use -static-libgcc when linking a DLL. 2014-10-21 22:55:47 -04:00
pl Translation updates 2014-10-05 23:23:50 -04:00
port Work around Windows locale name with non-ASCII character. 2014-10-24 21:10:13 +03:00
template Remove Alpha and Tru64 support. 2014-06-28 21:46:15 +02:00
test Improve planning of btree index scans using ScalarArrayOpExpr quals. 2014-10-26 16:12:22 -04:00
timezone Support timezone abbreviations that sometimes change. 2014-10-16 15:22:10 -04:00
tools Add valgrind suppression for padding bytes in twophase records. 2014-09-01 15:59:44 +02:00
tutorial Adjust blank lines around PG_MODULE_MAGIC defines, for consistency 2014-07-10 14:02:08 -04:00
.gitignore Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:04 +02:00
bcc32.mak Autoconfiscate selection of 64-bit int type for 64-bit large object API. 2012-10-07 21:52:43 -04:00
DEVELOPERS Replace a couple of references to files that no longer exist in the source 2009-05-04 08:08:47 +00:00
Makefile Create libpgcommon, and move pg_malloc et al to it 2013-02-12 11:21:05 -03:00
Makefile.global.in Fix TAP tests with Perl 5.8 2014-10-26 09:47:01 -04:00
Makefile.shlib MinGW: Include .dll extension in .def file LIBRARY commands. 2014-10-27 19:59:39 -04:00
nls-global.mk Setup error context callback for transaction lock waits 2014-03-19 15:10:36 -03:00
win32.mak Autoconfiscate selection of 64-bit int type for 64-bit large object API. 2012-10-07 21:52:43 -04:00