postgresql/src/backend
Amit Kapila 1a8bde490c Fix the initialization of atomic variable introduced by the
group clearing mechanism.

Commit 0e141c0fbb introduced initialization of atomic variable in
InitProcess which means that it's not safe to look at it for backends that
aren't currently in use.  Fix that by initializing the same during postmaster
startup.

Reported-by: Andres Freund
Author: Amit Kapila
Backpatch-through: 9.6
Discussion: https://postgr.es/m/20181027104138.qmbbelopvy7cw2qv@alap3.anarazel.de
2018-11-13 10:43:35 +05:30
..
access Fix memory leak in repeated SPGIST index scans. 2018-10-31 17:04:43 -04:00
bootstrap Add macros to make AllocSetContextCreate() calls simpler and safer. 2016-08-27 17:50:38 -04:00
catalog Fix missing role dependencies for some schema and type ACLs. 2018-11-09 20:42:03 -05:00
commands Fix missing role dependencies for some schema and type ACLs. 2018-11-09 20:42:03 -05:00
executor Allow btree comparison functions to return INT_MIN. 2018-10-05 16:01:30 -04:00
foreign Remove GetUserMappingId() and GetUserMappingById(). 2016-07-22 11:32:23 -04:00
lib Revert "Permit dump/reload of not-too-large >1GB tuples" 2016-12-06 12:46:03 -03:00
libpq Server-side fix for delayed NOTIFY and SIGTERM processing. 2018-10-19 21:39:22 -04:00
main Install Windows crash dump handler before all else. 2017-11-12 14:31:04 -08:00
nodes Fix parallel query so it doesn't spoil row estimates above Gather. 2017-03-31 21:10:30 -04:00
optimizer Limit the number of index clauses considered in choose_bitmap_and(). 2018-11-12 11:19:04 -05:00
parser Fix lexing of standard multi-character operators in edge cases. 2018-08-23 21:35:49 +01:00
po Translation updates 2018-11-05 14:52:07 +01:00
port Fix and improve pg_atomic_flag fallback implementation. 2018-04-06 20:02:02 -07:00
postmaster Stop bgworkers during fast shutdown with postmaster in startup phase 2018-08-29 17:11:27 -07:00
regex Fix regexport.c to behave sanely with lookaround constraints. 2017-04-13 17:18:35 -04:00
replication Fix copy-paste error in errhint() introduced in 691d79a079. 2018-11-05 12:05:39 -08:00
rewrite Fix set of NLS translation issues 2018-08-21 15:18:00 +09:00
snowball Update copyright for 2016 2016-01-02 13:33:40 -05:00
storage Fix the initialization of atomic variable introduced by the 2018-11-13 10:43:35 +05:30
tcop Server-side fix for delayed NOTIFY and SIGTERM processing. 2018-10-19 21:39:22 -04:00
tsearch Make ts_locale.c's character-type functions cope with UTF-16. 2018-11-03 13:56:10 -04:00
utils Disallow setting client_min_messages higher than ERROR. 2018-11-08 17:33:26 -05: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 Fix make rules that generate multiple output files. 2018-03-23 13:45:38 -04:00
nls.mk Translation updates 2018-08-06 19:44:29 +02:00