postgresql/src
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
..
backend Introduce group locking to prevent parallel processes from deadlocking. 2016-02-07 10:16:13 -05:00
bin In pg_dump, ensure that view triggers are processed after view rules. 2016-02-04 00:26:10 -05:00
common Fix typos in comments 2016-02-01 11:43:48 +01:00
include Introduce group locking to prevent parallel processes from deadlocking. 2016-02-07 10:16:13 -05:00
interfaces Make sure ecpg header files do not have a comment lasting several lines, one of 2016-02-01 13:21:00 +01:00
makefiles Fix typos in comments and doc 2016-01-28 16:47:36 +09:00
pl Remove no-longer-needed old-style check for incompatible plpythons. 2016-01-11 20:13:31 -05:00
port Fix order of arguments to va_start() 2016-01-07 20:32:49 -03:00
template Remove some remains from Alpha support removal 2015-10-29 16:40:14 -04:00
test Add num_nulls() and num_nonnulls() to count NULL arguments. 2016-02-04 23:03:37 -05:00
timezone Update time zone data files to tzdata release 2016a. 2016-02-05 10:59:09 -05:00
tools Change the way that LWLocks for extensions are allocated. 2016-02-04 16:43:04 -05:00
tutorial Update copyright for 2016 2016-01-02 13:33:40 -05:00
.gitignore
DEVELOPERS
Makefile Create libpgcommon, and move pg_malloc et al to it 2013-02-12 11:21:05 -03:00
Makefile.global.in Add support for systemd service notifications 2016-02-02 21:04:29 -05:00
Makefile.shlib AIX: Link TRANSFORM modules with their dependencies. 2015-07-15 21:00:26 -04:00
bcc32.mak Autoconfiscate selection of 64-bit int type for 64-bit large object API. 2012-10-07 21:52:43 -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