diff options
author | Amit Kapila <akapila@postgresql.org> | 2019-12-16 15:23:46 +0530 |
---|---|---|
committer | Amit Kapila <akapila@postgresql.org> | 2019-12-18 07:49:18 +0530 |
commit | 04c8a69c0cccbc271e0feeb22a74c69fbd87c37e (patch) | |
tree | b884045d07a37126e4dcda96461e0be22558cc9a /src/backend/parser/parse_utilcmd.c | |
parent | 52dcfda48778d16683c64ca4372299a099a15b96 (diff) | |
download | postgresql-04c8a69c0cccbc271e0feeb22a74c69fbd87c37e.tar.gz postgresql-04c8a69c0cccbc271e0feeb22a74c69fbd87c37e.zip |
Fix subscriber invalid memory access on DDL.
This patch allows building the local relmap cache for a subscribed
relation after processing pending invalidation messages and potential
relcache updates. Without this, the attributes in the local cache don't
tally with the updated relcache entry leading to invalid memory access.
Reported-by Jehan-Guillaume de Rorthais
Author: Jehan-Guillaume de Rorthais and Vignesh C
Reviewed-by: Amit Kapila
Backpatch-through: 10
Discussion: https://postgr.es/m/20191025175929.7e90dbf5@firost
Diffstat (limited to 'src/backend/parser/parse_utilcmd.c')
0 files changed, 0 insertions, 0 deletions