Robert Haas
175ff6598e
Fix possible crash reading pg_stat_activity.
...
With the old code, a backend that read pg_stat_activity without ever
having executed a parallel query might see a backend in the midst of
executing one waiting on a DSA LWLock, resulting in a crash. The
solution is for backends to register the tranche at startup time, not
the first time a parallel query is executed.
Report by Andreas Seltenreich. Patch by me, reviewed by Thomas Munro.
2017-01-05 12:27:09 -05:00
..
2011-02-03 22:32:49 -05:00
2017-01-03 13:48:53 -05:00
2017-01-03 13:48:53 -05:00
2017-01-03 13:48:53 -05:00
2017-01-03 13:48:53 -05:00
2017-01-03 13:48:53 -05:00
2017-01-03 13:48:53 -05:00
2017-01-03 13:48:53 -05:00
2017-01-03 13:48:53 -05:00
2017-01-03 13:48:53 -05:00
2011-04-05 09:35:43 -04:00
2017-01-03 13:48:53 -05:00
2017-01-03 13:48:53 -05:00
2017-01-03 13:48:53 -05:00
2017-01-03 13:48:53 -05:00
2017-01-03 13:48:53 -05:00
2017-01-05 12:27:09 -05:00
2017-01-03 13:48:53 -05:00
2017-01-03 13:48:53 -05:00
2017-01-03 13:48:53 -05:00
2017-01-03 13:48:53 -05:00
2017-01-03 13:48:53 -05:00
2017-01-03 13:48:53 -05:00
2017-01-03 13:48:53 -05:00
2017-01-03 13:48:53 -05:00
2017-01-03 13:48:53 -05:00
2017-01-03 13:48:53 -05:00
2017-01-03 13:48:53 -05:00
2017-01-03 13:48:53 -05:00
2017-01-03 13:48:53 -05:00
2017-01-03 13:48:53 -05:00
2017-01-03 13:48:53 -05:00
2017-01-03 13:48:53 -05:00
2017-01-03 13:48:53 -05:00
2017-01-03 13:48:53 -05:00
2017-01-03 13:48:53 -05:00
2017-01-03 13:48:53 -05:00
2017-01-03 13:48:53 -05:00
2017-01-03 13:48:53 -05:00
2017-01-03 13:48:53 -05:00
2017-01-03 13:48:53 -05:00
2017-01-03 13:48:53 -05:00
2017-01-03 13:48:53 -05:00
2017-01-03 13:48:53 -05:00
2017-01-03 13:48:53 -05:00
2017-01-03 13:48:53 -05:00
2017-01-03 13:48:53 -05:00
2017-01-03 13:48:53 -05:00
2017-01-03 13:48:53 -05:00
2017-01-03 13:48:53 -05:00
2010-09-20 22:08:53 +02:00
2017-01-03 13:48:53 -05:00
2017-01-03 13:48:53 -05:00
2017-01-03 13:48:53 -05:00
2017-01-03 13:48:53 -05:00
2017-01-03 13:48:53 -05:00
2017-01-03 13:48:53 -05:00
2017-01-03 13:48:53 -05:00
2017-01-03 13:48:53 -05:00
2017-01-03 13:48:53 -05:00
2017-01-03 13:48:53 -05:00
2017-01-03 13:48:53 -05:00
2017-01-03 13:48:53 -05:00
2017-01-03 13:48:53 -05:00
2017-01-03 13:48:53 -05:00
2017-01-03 13:48:53 -05:00
2017-01-03 13:48:53 -05:00
2017-01-03 13:48:53 -05:00
2017-01-03 13:48:53 -05:00
2017-01-03 13:48:53 -05:00
2017-01-03 13:48:53 -05:00
2017-01-03 13:48:53 -05:00
2017-01-03 13:48:53 -05:00
2017-01-03 13:48:53 -05:00
2017-01-03 13:48:53 -05:00
2017-01-03 13:48:53 -05:00
2017-01-03 13:48:53 -05:00
2017-01-03 13:48:53 -05:00
2017-01-03 13:48:53 -05:00