diff options
| author | Alvaro Herrera | 2020-05-15 23:59:29 +0000 |
|---|---|---|
| committer | Alvaro Herrera | 2020-05-16 00:00:52 +0000 |
| commit | 1d3743023ef8fa665902e791b0d52e9a1ab419cb (patch) | |
| tree | 7cf3a1fb6c6c2cf21a342beaf33cc662af4d01ec /contrib/hstore_plpython/Makefile | |
| parent | 14a91010912632cae322b06fce0425faedcf7353 (diff) | |
Fix walsender error cleanup code
In commit 850196b610d2 I (Álvaro) failed to handle the case of walsender
shutting down on an error before setting up its 'xlogreader' pointer;
the error handling code dereferences the pointer, causing a crash.
Fix by testing the pointer before trying to dereference it.
Kyotaro authored the code fix; I adopted Nathan's test case to be used
by the TAP tests and added the necessary PostgresNode change.
Reported-by: Nathan Bossart <[email protected]>
Author: Kyotaro Horiguchi <[email protected]>
Author: Álvaro Herrera <[email protected]>
Discussion: https://postgr.es/m/[email protected]
Diffstat (limited to 'contrib/hstore_plpython/Makefile')
0 files changed, 0 insertions, 0 deletions
