postgresql/src/backend
Robert Haas 4aec49899e Assorted code review for recent ProcArrayLock patch.
Post-commit review by Andres Freund discovered a couple of concurrency
bugs in the original patch: specifically, if the leader cleared a
follower's XID before it reached PGSemaphoreLock, the semaphore would be
left in the wrong state; and if another process did PGSemaphoreUnlock
for some unrelated reason, we might resume execution before the fact
that our XID was cleared was globally visible.

Also, improve the wording of some comments, rename nextClearXidElem
to firstClearXidElem in PROC_HDR for clarity, and drop some volatile
qualifiers that aren't necessary.

Amit Kapila, reviewed and slightly revised by me.
2015-09-03 13:19:15 -04:00
..
access Document that max_worker_processes must be high enough in standby. 2015-09-03 22:30:16 +09:00
bootstrap pgindent run for 9.5 2015-05-23 21:35:49 -04:00
catalog Allow pg_create_physical_replication_slot() to reserve WAL. 2015-08-11 12:34:31 +02:00
commands Fix typo in C comment. 2015-08-23 10:38:57 -05:00
executor Avoid O(N^2) behavior when enlarging SPI tuple table in spi_printtup(). 2015-08-21 20:32:11 -04:00
foreign Code review for foreign/custom join pushdown patch. 2015-05-10 14:36:36 -04:00
lib Avoid use of float arithmetic in bipartite_match.c. 2015-08-23 13:02:18 -04:00
libpq Actually, it's not that hard to merge the Windows pqsignal code ... 2015-08-31 15:52:56 -04:00
main Revoke support for strxfrm() that write past the specified array length. 2015-07-08 20:44:21 -04:00
nodes Rename 'cmd' to 'cmd_name' in CreatePolicyStmt 2015-08-21 08:22:22 -04:00
optimizer Undo mistaken tightening in join_is_legal(). 2015-08-12 21:19:03 -04:00
parser Rename 'cmd' to 'cmd_name' in CreatePolicyStmt 2015-08-21 08:22:22 -04:00
po Translation updates 2015-06-28 23:56:55 -04:00
port Rely on inline functions even if that causes warnings in older compilers. 2015-08-05 18:19:52 +02:00
postmaster Allow notifications to bgworkers without database connections. 2015-09-01 15:30:19 -04:00
regex Fix some possible low-memory failures in regexp compilation. 2015-08-12 00:48:11 -04:00
replication Don't use function definitions looking like old-style ones. 2015-08-15 17:25:00 +02:00
rewrite Ensure locks are acquired on RLS-added relations 2015-08-28 11:39:37 -04:00
snowball Remove no-longer-required function declarations. 2015-05-24 12:20:23 -04:00
storage Assorted code review for recent ProcArrayLock patch. 2015-09-03 13:19:15 -04:00
tcop Clean up icc + ia64 situation. 2015-08-31 18:10:04 -04:00
tsearch pgindent run for 9.5 2015-05-23 21:35:49 -04:00
utils Speed up HeapTupleSatisfiesMVCC() by replacing the XID-in-progress test. 2015-08-26 18:19:07 -04:00
.gitignore Add .gitignore entries for AIX-specific intermediate build artifacts. 2015-07-08 20:44:22 -04:00
common.mk Remove maintainer-check target, fold into normal build 2013-10-10 20:11:56 -04:00
Makefile AIX: Link the postgres executable with -Wl,-brtllib. 2015-07-15 21:00:26 -04:00
nls.mk Translation updates 2015-02-01 23:23:40 -05:00