postgresql/src
Simon Riggs ed78384acd Move call to GetTopTransactionId() earlier in LockAcquire(),
removing an infrequently occurring race condition in Hot Standby.
An xid must be assigned before a lock appears in shared memory,
rather than immediately after, else GetRunningTransactionLocks()
may see InvalidTransactionId, causing assertion failures during
lock processing on standby.

Bug report and diagnosis by Fujii Masao, fix by me.
2010-11-29 01:08:02 +00:00
..
backend Move call to GetTopTransactionId() earlier in LockAcquire(), 2010-11-29 01:08:02 +00:00
bin Rewrite PQping to be more like what we agreed to last week. 2010-11-27 01:30:34 -05:00
include Move call to GetTopTransactionId() earlier in LockAcquire(), 2010-11-29 01:08:02 +00:00
interfaces In libpq/Makefile, use OBJS += as a way to break up long link lines into 2010-11-27 11:03:23 -05:00
makefiles Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
pl Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
port Fix portability issues in new src/port/inet_net_ntop.c file. 2010-11-26 18:00:26 -05:00
template Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
test Add more ALTER <object> .. SET SCHEMA commands. 2010-11-26 17:31:54 -05:00
timezone Improved parallel make support 2010-11-12 22:15:16 +02:00
tools Add inet_net_ntop.c as needed by MSVC, per Magnus. 2010-11-26 14:39:13 -05:00
tutorial Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
.gitignore Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:04 +02:00
bcc32.mak Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02: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 Additional fixes for parallel make 2010-11-17 08:08:41 +02:00
Makefile.global.in Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
Makefile.shlib Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
nls-global.mk Fix makefile logic to not break the build when xgettext is missing 2010-10-14 23:16:46 +03:00
win32.mak Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00