pg.ddx.io pgsql-committers@postgresql.org mailing list archive
help / color / mirror / Atom feed From: Tomas Vondra <tomas.vondra@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add decoding of sequences to test_decoding
Date: Fri, 11 Feb 2022 23:52:20 +0000
Message-ID: <E1nIfi8-0000bE-FB@gemulon.postgresql.org> (raw )
Add decoding of sequences to test_decoding
Commit 0da92dc530 improved the logical decoding infrastructure to handle
sequences, and did various changes to related parts (WAL logging etc.).
But it did not include any implementation of the new callbacks added to
OutputPluginCallbacks.
This extends test_decoding with two callbacks to decode sequences. The
decoding of sequences may be disabled using 'include-sequences', a new
option of the output plugin.
Author: Tomas Vondra, Cary Huang
Reviewed-by: Peter Eisentraut, Hannu Krosing, Andres Freund
Discussion: https://postgr.es/m/d045f3c2-6cfb-06d3-5540-e63c320df8bc@enterprisedb.com
Discussion: https://postgr.es/m/1710ed7e13b.cd7177461430746.3372264562543607781@highgo.ca
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/80901b32913ffa59bf157a4d88284b2b3a7511d9
Modified Files
--------------
contrib/test_decoding/Makefile | 3 +-
contrib/test_decoding/expected/ddl.out | 12 +-
.../test_decoding/expected/decoding_in_xact.out | 2 +-
.../test_decoding/expected/decoding_into_rel.out | 10 +-
contrib/test_decoding/expected/mxact.out | 8 +-
contrib/test_decoding/expected/ondisk_startup.out | 4 +-
contrib/test_decoding/expected/replorigin.out | 4 +-
contrib/test_decoding/expected/rewrite.out | 4 +-
contrib/test_decoding/expected/sequence.out | 327 +++++++++++++++++++++
contrib/test_decoding/expected/slot.out | 2 +-
contrib/test_decoding/expected/toast.out | 10 +-
contrib/test_decoding/expected/truncate.out | 2 +-
contrib/test_decoding/specs/mxact.spec | 2 +-
contrib/test_decoding/specs/ondisk_startup.spec | 2 +-
contrib/test_decoding/sql/ddl.sql | 12 +-
contrib/test_decoding/sql/decoding_in_xact.sql | 2 +-
contrib/test_decoding/sql/decoding_into_rel.sql | 10 +-
contrib/test_decoding/sql/replorigin.sql | 4 +-
contrib/test_decoding/sql/rewrite.sql | 4 +-
contrib/test_decoding/sql/sequence.sql | 119 ++++++++
contrib/test_decoding/sql/slot.sql | 2 +-
contrib/test_decoding/sql/toast.sql | 10 +-
contrib/test_decoding/sql/truncate.sql | 2 +-
contrib/test_decoding/test_decoding.c | 65 ++++
24 files changed, 567 insertions(+), 55 deletions(-)
view thread (3+ messages) latest in thread
Message-ID: <E1nIfi8-0000bE-FB@gemulon.postgresql.org>
Permalink: ../E1nIfi8-0000bE-FB@gemulon.postgresql.org/
Also on: postgresql.org/message-id/E1nIfi8-0000bE-FB@gemulon.postgresql.org
copy link · copy postgr.es
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: tomas.vondra@postgresql.org
Subject: Re: pgsql: Add decoding of sequences to test_decoding
In-Reply-To: <E1nIfi8-0000bE-FB@gemulon.postgresql.org>
References: <E1nIfi8-0000bE-FB@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