From: | Andres Freund <andres(at)anarazel(dot)de> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Remove backwards compat ugliness in snapbuild.c. |
Date: | 2021-02-16 01:00:59 |
Message-ID: | E1lBojb-0006Eq-JL@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Remove backwards compat ugliness in snapbuild.c.
In 955a684e040 we fixed a bug in initial snapshot creation. In the
course of which several members of struct SnapBuild were obsoleted. As
SnapBuild is serialized to disk we couldn't change the memory layout.
Unfortunately I subsequently forgot about removing the backward compat
gunk, but luckily Heikki just reminded me.
This commit bumps SNAPBUILD_VERSION, therefore breaking existing
slots (which is fine in a major release).
Author: Andres Freund
Reminded-By: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>
Discussion: https://postgr.es/m/c94be044-818f-15e3-1ad3-7a7ae2dfed0a@iki.fi
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/a975ff4980d60f8cbd8d8cbcff70182ea53e787a
Modified Files
--------------
src/backend/replication/logical/snapbuild.c | 103 +++++-----------------------
1 file changed, 18 insertions(+), 85 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Andres Freund | 2021-02-16 01:29:54 | pgsql: Fix heap_page_prune() parameter order confusion introduced in dc |
Previous Message | Thomas Munro | 2021-02-16 00:23:58 | pgsql: Fix compiler warning in back branches (9.6, 10). |