pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Back-patch log_newpage_range(). 4+ messages / 1 participants [nested] [flat]
* pgsql: Back-patch log_newpage_range(). @ 2020-03-21 16:45 Noah Misch <noah@leadboat.com> 0 siblings, 0 replies; 4+ messages in thread From: Noah Misch @ 2020-03-21 16:45 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Back-patch log_newpage_range(). Back-patch a subset of commit 9155580fd5fc2a0cbb23376dfca7cd21f59c2c7b to v11, v10, 9.6, and 9.5. Include the latest repairs to this function. Use a new XLOG_FPI_MULTI value instead of reusing XLOG_FPI. That way, if an older server reads WAL from this function, that server will PANIC instead of applying just one page of the record. The next commit adds a call to this function. Discussion: https://postgr.es/m/20200304.162919.898938381201316571.horikyota.ntt@gmail.com Branch ------ REL_11_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/ae86e46c3b7b90903d89b65385e2b77d2c1cf63e Modified Files -------------- src/backend/access/rmgrdesc/xlogdesc.c | 6 ++- src/backend/access/transam/xlog.c | 23 ++++++--- src/backend/access/transam/xloginsert.c | 88 ++++++++++++++++++++++++++++++++ src/backend/replication/logical/decode.c | 1 + src/include/access/xloginsert.h | 3 ++ src/include/catalog/pg_control.h | 1 + 6 files changed, 113 insertions(+), 9 deletions(-) ^ permalink raw reply [nested|flat] 4+ messages in thread
* pgsql: Back-patch log_newpage_range(). @ 2020-03-21 16:45 Noah Misch <noah@leadboat.com> 0 siblings, 0 replies; 4+ messages in thread From: Noah Misch @ 2020-03-21 16:45 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Back-patch log_newpage_range(). Back-patch a subset of commit 9155580fd5fc2a0cbb23376dfca7cd21f59c2c7b to v11, v10, 9.6, and 9.5. Include the latest repairs to this function. Use a new XLOG_FPI_MULTI value instead of reusing XLOG_FPI. That way, if an older server reads WAL from this function, that server will PANIC instead of applying just one page of the record. The next commit adds a call to this function. Discussion: https://postgr.es/m/20200304.162919.898938381201316571.horikyota.ntt@gmail.com Branch ------ REL_10_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/43434ed94d80b4a181d5d9dc6bda585a9267eb1e Modified Files -------------- src/backend/access/rmgrdesc/xlogdesc.c | 6 ++- src/backend/access/transam/xlog.c | 23 ++++++--- src/backend/access/transam/xloginsert.c | 88 ++++++++++++++++++++++++++++++++ src/backend/replication/logical/decode.c | 1 + src/include/access/xloginsert.h | 3 ++ src/include/catalog/pg_control.h | 1 + 6 files changed, 113 insertions(+), 9 deletions(-) ^ permalink raw reply [nested|flat] 4+ messages in thread
* pgsql: Back-patch log_newpage_range(). @ 2020-03-21 16:45 Noah Misch <noah@leadboat.com> 0 siblings, 0 replies; 4+ messages in thread From: Noah Misch @ 2020-03-21 16:45 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Back-patch log_newpage_range(). Back-patch a subset of commit 9155580fd5fc2a0cbb23376dfca7cd21f59c2c7b to v11, v10, 9.6, and 9.5. Include the latest repairs to this function. Use a new XLOG_FPI_MULTI value instead of reusing XLOG_FPI. That way, if an older server reads WAL from this function, that server will PANIC instead of applying just one page of the record. The next commit adds a call to this function. Discussion: https://postgr.es/m/20200304.162919.898938381201316571.horikyota.ntt@gmail.com Branch ------ REL9_6_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/14d2bb4941e6bdf181f274d81314415781933079 Modified Files -------------- src/backend/access/rmgrdesc/xlogdesc.c | 6 ++- src/backend/access/transam/xlog.c | 23 ++++++--- src/backend/access/transam/xloginsert.c | 88 ++++++++++++++++++++++++++++++++ src/backend/replication/logical/decode.c | 1 + src/include/access/xloginsert.h | 3 ++ src/include/catalog/pg_control.h | 1 + 6 files changed, 113 insertions(+), 9 deletions(-) ^ permalink raw reply [nested|flat] 4+ messages in thread
* pgsql: Back-patch log_newpage_range(). @ 2020-03-21 16:45 Noah Misch <noah@leadboat.com> 0 siblings, 0 replies; 4+ messages in thread From: Noah Misch @ 2020-03-21 16:45 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Back-patch log_newpage_range(). Back-patch a subset of commit 9155580fd5fc2a0cbb23376dfca7cd21f59c2c7b to v11, v10, 9.6, and 9.5. Include the latest repairs to this function. Use a new XLOG_FPI_MULTI value instead of reusing XLOG_FPI. That way, if an older server reads WAL from this function, that server will PANIC instead of applying just one page of the record. The next commit adds a call to this function. Discussion: https://postgr.es/m/20200304.162919.898938381201316571.horikyota.ntt@gmail.com Branch ------ REL9_5_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/e0dd086414f782d9200ad525a1643a9f57a2b497 Modified Files -------------- src/backend/access/rmgrdesc/xlogdesc.c | 6 ++- src/backend/access/transam/xlog.c | 23 ++++++--- src/backend/access/transam/xloginsert.c | 88 ++++++++++++++++++++++++++++++++ src/backend/replication/logical/decode.c | 1 + src/include/access/xloginsert.h | 3 ++ src/include/catalog/pg_control.h | 1 + 6 files changed, 113 insertions(+), 9 deletions(-) ^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2020-03-21 16:45 UTC | newest] Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2020-03-21 16:45 pgsql: Back-patch log_newpage_range(). Noah Misch <noah@leadboat.com> 2020-03-21 16:45 pgsql: Back-patch log_newpage_range(). Noah Misch <noah@leadboat.com> 2020-03-21 16:45 pgsql: Back-patch log_newpage_range(). Noah Misch <noah@leadboat.com> 2020-03-21 16:45 pgsql: Back-patch log_newpage_range(). Noah Misch <noah@leadboat.com>
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