From: Thomas Munro <tmunro@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Warn if wal_level is too low when creating a publication.
Date: Sat, 13 Jul 2019 01:08:50 +0000
Message-ID: <E1hm6Ww-0008IG-5b@gemulon.postgresql.org> (raw)
Warn if wal_level is too low when creating a publication.
Provide a hint to users that they need to increase wal_level before
subscriptions can work.
Author: Lucas Viecelli, with some adjustments by Thomas Munro
Reviewed-by: Tom Lane
Discussion: https://postgr.es/m/CAPjy-57rn5Y9g4e5u--eSOP-7P4QrE9uOZmT2ZcUebF8qxsYhg%40mail.gmail.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/b31fbe852c095a827caade2e0702f8a215053bea
Modified Files
--------------
src/backend/commands/publicationcmds.c | 8 ++++++++
src/test/regress/expected/object_address.out | 3 +++
src/test/regress/expected/publication.out | 13 +++++++++++++
src/test/regress/sql/object_address.sql | 3 +++
src/test/regress/sql/publication.sql | 13 +++++++++++++
5 files changed, 40 insertions(+)
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: tmunro@postgresql.org
Subject: Re: pgsql: Warn if wal_level is too low when creating a publication.
In-Reply-To: <E1hm6Ww-0008IG-5b@gemulon.postgresql.org>
References: <E1hm6Ww-0008IG-5b@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