postgresql/src/backend
Alvaro Herrera e90ceeaa49 Avoid bogus TwoPhaseState locking sequences
The optimized code in 728bd991c3 contains a few invalid locking
sequences.  To wit, the original code would try to acquire an lwlock
that it already holds.  Avoid this by moving lock acquisitions to
higher-level code, and install appropriate assertions in low-level that
the correct mode is held.

Authors: Michael Paquier, Álvaro Herrera
Reported-By: chuanting wang
Bug: #14680
Discussion: https://postgr.es/m/20170531033228.1487.10124@wrigleys.postgresql.org
2017-06-14 11:29:05 -04:00
..
access Avoid bogus TwoPhaseState locking sequences 2017-06-14 11:29:05 -04:00
bootstrap In initdb, defend against assignment of NULL values to not-null columns. 2017-06-13 10:54:43 -04:00
catalog Fix violations of CatalogTupleInsert/Update/Delete abstraction. 2017-06-14 10:26:46 -04:00
commands Fix violations of CatalogTupleInsert/Update/Delete abstraction. 2017-06-14 10:26:46 -04:00
executor Disallow set-returning functions inside CASE or COALESCE. 2017-06-13 23:46:39 -04:00
foreign Abstract logic to allow for multiple kinds of child rels. 2017-04-03 22:41:31 -04:00
lib Post-PG 10 beta1 pgindent run 2017-05-17 16:31:56 -04:00
libpq Re-run pgindent. 2017-06-13 13:05:59 -04:00
main Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
nodes Fix no-longer-valid shortcuts in expression_returns_set(). 2017-06-14 11:10:05 -04:00
optimizer #ifdef out assorted unused GEQO code. 2017-06-04 13:34:05 -04:00
parser Disallow set-returning functions inside CASE or COALESCE. 2017-06-13 23:46:39 -04:00
po Translation updates 2017-05-15 12:19:54 -04:00
port Post-PG 10 beta1 pgindent run 2017-05-17 16:31:56 -04:00
postmaster Clean up latch related code. 2017-06-06 16:13:00 -07:00
regex Fix regexport.c to behave sanely with lookaround constraints. 2017-04-13 17:18:35 -04:00
replication Re-run pgindent. 2017-06-13 13:05:59 -04:00
rewrite Re-run pgindent. 2017-06-13 13:05:59 -04:00
snowball Add ICU_CFLAGS to global CPPFLAGS 2017-06-12 15:57:22 -04:00
statistics Post-PG 10 beta1 pgindent run 2017-05-17 16:31:56 -04:00
storage Re-run pgindent. 2017-06-13 13:05:59 -04:00
tcop Re-run pgindent. 2017-06-13 13:05:59 -04:00
tsearch Post-PG 10 beta1 pgindent run 2017-05-17 16:31:56 -04:00
utils Re-run pgindent. 2017-06-13 13:05:59 -04:00
.gitignore
common.mk Add ICU_CFLAGS to global CPPFLAGS 2017-06-12 15:57:22 -04:00
Makefile Implement multivariate n-distinct coefficients 2017-03-24 14:06:10 -03:00
nls.mk Translation updates 2017-05-15 12:19:54 -04:00