postgresql/src/backend
Robert Haas a1c1af2a1f Introduce group locking to prevent parallel processes from deadlocking.
For locking purposes, we now regard heavyweight locks as mutually
non-conflicting between cooperating parallel processes.  There are some
possible pitfalls to this approach that are not to be taken lightly,
but it works OK for now and can be changed later if we find a better
approach.  Without this, it's very easy for parallel queries to
silently self-deadlock if the user backend holds strong relation locks.

Robert Haas, with help from Amit Kapila.  Thanks to Noah Misch and
Andres Freund for extensive discussion of possible issues with this
approach.
2016-02-07 10:16:13 -05:00
..
access Introduce group locking to prevent parallel processes from deadlocking. 2016-02-07 10:16:13 -05:00
bootstrap Fix typos in comments and doc 2016-01-28 16:47:36 +09:00
catalog Support multi-stage aggregation. 2016-01-20 13:46:50 -05:00
commands Make all built-in lwlock tranche IDs fixed. 2016-02-02 06:45:55 -05:00
executor Fix comment block trashed by pgindent. 2016-02-06 15:13:36 -05:00
foreign Remove parallel-safety check from GetExistingLocalJoinPath. 2016-02-05 08:07:38 -05:00
lib Add two HyperLogLog functions 2016-01-19 17:40:15 -03:00
libpq Properly close token in sspi authentication 2016-01-14 13:06:03 +01:00
main Update copyright for 2016 2016-01-02 13:33:40 -05:00
nodes Remove CustomPath's TextOutCustomPath method. 2016-02-03 10:38:50 -05:00
optimizer Don't test for system columns on join relations 2016-02-02 19:20:02 +01:00
parser Remove new coupling between NAMEDATALEN and MAX_LEVENSHTEIN_STRLEN. 2016-01-22 11:53:06 -05:00
po Translation updates 2015-06-28 23:56:55 -04:00
port Windows: Make pg_ctl reliably detect service status 2016-01-07 11:59:08 -03:00
postmaster Change the way that LWLocks for extensions are allocated. 2016-02-04 16:43:04 -05:00
regex Update copyright for 2016 2016-01-02 13:33:40 -05:00
replication Fix typo in comment. 2016-02-05 08:11:00 -05:00
rewrite Update copyright for 2016 2016-01-02 13:33:40 -05:00
snowball Update copyright for 2016 2016-01-02 13:33:40 -05:00
storage Introduce group locking to prevent parallel processes from deadlocking. 2016-02-07 10:16:13 -05:00
tcop Update copyright for 2016 2016-01-02 13:33:40 -05:00
tsearch Update copyright for 2016 2016-01-02 13:33:40 -05:00
utils Improve speed of timestamp/time/date output functions. 2016-02-06 23:11:28 -05:00
.gitignore Add .gitignore entries for AIX-specific intermediate build artifacts. 2015-07-08 20:44:22 -04:00
Makefile Add support for systemd service notifications 2016-02-02 21:04:29 -05:00
common.mk Remove maintainer-check target, fold into normal build 2013-10-10 20:11:56 -04:00
nls.mk Remove trailing slashes from directories in find command 2015-09-18 22:06:54 -04:00