diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2019-10-16 14:51:23 +0200 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2019-10-16 14:51:23 +0200 |
commit | 1cd5bc3ccf92a511b087629b2c914dffa9151fce (patch) | |
tree | 2afcb196f62f38362ff6407d05041ed2e40f70f3 /src/tutorial/funcs.c | |
parent | a8e49ae0c38172a288f26ae1590069ecc4a721cd (diff) | |
download | postgresql-1cd5bc3ccf92a511b087629b2c914dffa9151fce.tar.gz postgresql-1cd5bc3ccf92a511b087629b2c914dffa9151fce.zip |
Fix crash when reporting CREATE INDEX progress
A race condition can make us try to dereference a NULL pointer to the
PGPROC struct of a process that's already finished. That results in
crashes during REINDEX CONCURRENTLY and CREATE INDEX CONCURRENTLY.
This was introduced in ab0dfc961b6a, so backpatch to pg12.
Reported by: Justin Pryzby
Reviewed-by: Michaƫl Paquier
Discussion: https://postgr.es/m/20191012004446.GT10470@telsasoft.com
Diffstat (limited to 'src/tutorial/funcs.c')
0 files changed, 0 insertions, 0 deletions