pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Remove backwards compat ugliness in snapbuild.c.
Date: Tue, 16 Feb 2021 01:00:59 +0000
Message-ID: <E1lBojb-0006Eq-JL@gemulon.postgresql.org> (raw)

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@iki.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(-)



Message-ID: <E1lBojb-0006Eq-JL@gemulon.postgresql.org>
Permalink:  ../E1lBojb-0006Eq-JL@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1lBojb-0006Eq-JL@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: andres@anarazel.de
  Subject: Re: pgsql: Remove backwards compat ugliness in snapbuild.c.
  In-Reply-To: <E1lBojb-0006Eq-JL@gemulon.postgresql.org>
  References: <E1lBojb-0006Eq-JL@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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