pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Fix subscriber invalid memory access on DDL. 4+ messages / 1 participants [nested] [flat]
* pgsql: Fix subscriber invalid memory access on DDL. @ 2019-12-18 03:06 Amit Kapila <akapila@postgresql.org> 0 siblings, 0 replies; 4+ messages in thread From: Amit Kapila @ 2019-12-18 03:06 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/04c8a69c0cccbc271e0feeb22a74c69fbd87c37e Modified Files -------------- src/backend/replication/logical/relation.c | 38 ++++++++++++++++++++---------- 1 file changed, 25 insertions(+), 13 deletions(-) ^ permalink raw reply [nested|flat] 4+ messages in thread
* pgsql: Fix subscriber invalid memory access on DDL. @ 2019-12-18 03:06 Amit Kapila <akapila@postgresql.org> 0 siblings, 0 replies; 4+ messages in thread From: Amit Kapila @ 2019-12-18 03:06 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 Branch ------ REL_12_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/c74111d8bd6853b9944d004706dcc0cea2f2a25a Modified Files -------------- src/backend/replication/logical/relation.c | 38 ++++++++++++++++++++---------- 1 file changed, 25 insertions(+), 13 deletions(-) ^ permalink raw reply [nested|flat] 4+ messages in thread
* pgsql: Fix subscriber invalid memory access on DDL. @ 2019-12-18 03:06 Amit Kapila <akapila@postgresql.org> 0 siblings, 0 replies; 4+ messages in thread From: Amit Kapila @ 2019-12-18 03:06 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 Branch ------ REL_11_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/046830164ee4064623c34930a41c351106338041 Modified Files -------------- src/backend/replication/logical/relation.c | 38 ++++++++++++++++++++---------- 1 file changed, 25 insertions(+), 13 deletions(-) ^ permalink raw reply [nested|flat] 4+ messages in thread
* pgsql: Fix subscriber invalid memory access on DDL. @ 2019-12-18 03:06 Amit Kapila <akapila@postgresql.org> 0 siblings, 0 replies; 4+ messages in thread From: Amit Kapila @ 2019-12-18 03:06 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 Branch ------ REL_10_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/d6eca4958d78499b66aad9cf4b595b871c177e02 Modified Files -------------- src/backend/replication/logical/relation.c | 38 ++++++++++++++++++++---------- 1 file changed, 25 insertions(+), 13 deletions(-) ^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2019-12-18 03:06 UTC | newest] Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2019-12-18 03:06 pgsql: Fix subscriber invalid memory access on DDL. Amit Kapila <akapila@postgresql.org> 2019-12-18 03:06 pgsql: Fix subscriber invalid memory access on DDL. Amit Kapila <akapila@postgresql.org> 2019-12-18 03:06 pgsql: Fix subscriber invalid memory access on DDL. Amit Kapila <akapila@postgresql.org> 2019-12-18 03:06 pgsql: Fix subscriber invalid memory access on DDL. Amit Kapila <akapila@postgresql.org>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox