pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Mark correctly initial slot snapshots with MVCC type when built 6+ messages / 1 participants [nested] [flat]
* pgsql: Mark correctly initial slot snapshots with MVCC type when built @ 2019-02-20 03:36 Michael Paquier <michael@paquier.xyz> 0 siblings, 0 replies; 6+ messages in thread From: Michael Paquier @ 2019-02-20 03:36 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Mark correctly initial slot snapshots with MVCC type when built When building an initial slot snapshot, snapshots are marked with historic MVCC snapshots as type with the marker field being set in SnapBuildBuildSnapshot() but not overriden in SnapBuildInitialSnapshot(). Existing callers of SnapBuildBuildSnapshot() do not care about the type of snapshot used, but extensions calling it actually may, as reported. Author: Antonin Houska Reviewed-by: Álvaro Herrera, Michael Paquier Discussion: https://postgr.es/m/23215.1527665193@localhost Backpatch-through: 9.4 Branch ------ REL_11_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/7ed9285c6950d6b006ce745e9fd5e950425e815c Modified Files -------------- src/backend/replication/logical/snapbuild.c | 2 ++ 1 file changed, 2 insertions(+) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Mark correctly initial slot snapshots with MVCC type when built @ 2019-02-20 03:36 Michael Paquier <michael@paquier.xyz> 0 siblings, 0 replies; 6+ messages in thread From: Michael Paquier @ 2019-02-20 03:36 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Mark correctly initial slot snapshots with MVCC type when built When building an initial slot snapshot, snapshots are marked with historic MVCC snapshots as type with the marker field being set in SnapBuildBuildSnapshot() but not overriden in SnapBuildExportSnapshot(). Existing callers of SnapBuildBuildSnapshot() do not care about the type of snapshot used, but extensions calling it actually may, as reported. Author: Antonin Houska Reviewed-by: Álvaro Herrera, Michael Paquier Discussion: https://postgr.es/m/23215.1527665193@localhost Backpatch-through: 9.4 Branch ------ REL9_4_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/2ad57e9e9faf5e8a6fdec048636581df7210478f Modified Files -------------- src/backend/replication/logical/snapbuild.c | 2 ++ 1 file changed, 2 insertions(+) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Mark correctly initial slot snapshots with MVCC type when built @ 2019-02-20 03:36 Michael Paquier <michael@paquier.xyz> 0 siblings, 0 replies; 6+ messages in thread From: Michael Paquier @ 2019-02-20 03:36 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Mark correctly initial slot snapshots with MVCC type when built When building an initial slot snapshot, snapshots are marked with historic MVCC snapshots as type with the marker field being set in SnapBuildBuildSnapshot() but not overriden in SnapBuildExportSnapshot(). Existing callers of SnapBuildBuildSnapshot() do not care about the type of snapshot used, but extensions calling it actually may, as reported. Author: Antonin Houska Reviewed-by: Álvaro Herrera, Michael Paquier Discussion: https://postgr.es/m/23215.1527665193@localhost Backpatch-through: 9.4 Branch ------ REL9_6_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/f131889519ad3243739b430df70c379652a79156 Modified Files -------------- src/backend/replication/logical/snapbuild.c | 2 ++ 1 file changed, 2 insertions(+) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Mark correctly initial slot snapshots with MVCC type when built @ 2019-02-20 03:36 Michael Paquier <michael@paquier.xyz> 0 siblings, 0 replies; 6+ messages in thread From: Michael Paquier @ 2019-02-20 03:36 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Mark correctly initial slot snapshots with MVCC type when built When building an initial slot snapshot, snapshots are marked with historic MVCC snapshots as type with the marker field being set in SnapBuildBuildSnapshot() but not overriden in SnapBuildExportSnapshot(). Existing callers of SnapBuildBuildSnapshot() do not care about the type of snapshot used, but extensions calling it actually may, as reported. Author: Antonin Houska Reviewed-by: Álvaro Herrera, Michael Paquier Discussion: https://postgr.es/m/23215.1527665193@localhost Backpatch-through: 9.4 Branch ------ REL9_5_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/03cd99a8e802e054aac53e4544613b207803f4a0 Modified Files -------------- src/backend/replication/logical/snapbuild.c | 2 ++ 1 file changed, 2 insertions(+) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Mark correctly initial slot snapshots with MVCC type when built @ 2019-02-20 03:36 Michael Paquier <michael@paquier.xyz> 0 siblings, 0 replies; 6+ messages in thread From: Michael Paquier @ 2019-02-20 03:36 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Mark correctly initial slot snapshots with MVCC type when built When building an initial slot snapshot, snapshots are marked with historic MVCC snapshots as type with the marker field being set in SnapBuildBuildSnapshot() but not overriden in SnapBuildInitialSnapshot(). Existing callers of SnapBuildBuildSnapshot() do not care about the type of snapshot used, but extensions calling it actually may, as reported. While on it, mark correctly the snapshot type when importing one. This is cosmetic as the field is enforced to 0. Author: Antonin Houska Reviewed-by: Álvaro Herrera, Michael Paquier Discussion: https://postgr.es/m/23215.1527665193@localhost Backpatch-through: 9.4 Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/56fadbedbd2f697400b89e7b767cfa4ec67932d6 Modified Files -------------- src/backend/replication/logical/snapbuild.c | 2 ++ src/backend/utils/time/snapmgr.c | 2 ++ 2 files changed, 4 insertions(+) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Mark correctly initial slot snapshots with MVCC type when built @ 2019-02-20 03:36 Michael Paquier <michael@paquier.xyz> 0 siblings, 0 replies; 6+ messages in thread From: Michael Paquier @ 2019-02-20 03:36 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Mark correctly initial slot snapshots with MVCC type when built When building an initial slot snapshot, snapshots are marked with historic MVCC snapshots as type with the marker field being set in SnapBuildBuildSnapshot() but not overriden in SnapBuildInitialSnapshot(). Existing callers of SnapBuildBuildSnapshot() do not care about the type of snapshot used, but extensions calling it actually may, as reported. Author: Antonin Houska Reviewed-by: Álvaro Herrera, Michael Paquier Discussion: https://postgr.es/m/23215.1527665193@localhost Backpatch-through: 9.4 Branch ------ REL_10_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/a80f5c279bd5625f349afbfb1572cfad0b429b8d Modified Files -------------- src/backend/replication/logical/snapbuild.c | 2 ++ 1 file changed, 2 insertions(+) ^ permalink raw reply [nested|flat] 6+ messages in thread
end of thread, other threads:[~2019-02-20 03:36 UTC | newest] Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2019-02-20 03:36 pgsql: Mark correctly initial slot snapshots with MVCC type when built Michael Paquier <michael@paquier.xyz> 2019-02-20 03:36 pgsql: Mark correctly initial slot snapshots with MVCC type when built Michael Paquier <michael@paquier.xyz> 2019-02-20 03:36 pgsql: Mark correctly initial slot snapshots with MVCC type when built Michael Paquier <michael@paquier.xyz> 2019-02-20 03:36 pgsql: Mark correctly initial slot snapshots with MVCC type when built Michael Paquier <michael@paquier.xyz> 2019-02-20 03:36 pgsql: Mark correctly initial slot snapshots with MVCC type when built Michael Paquier <michael@paquier.xyz> 2019-02-20 03:36 pgsql: Mark correctly initial slot snapshots with MVCC type when built Michael Paquier <michael@paquier.xyz>
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