Warn if wal_level is too low when creating a publication.
Thomas Munro <tmunro@postgresql.org>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/commands/publicationcmds.c | modified | +8 −0 |
| src/test/regress/expected/object_address.out | modified | +3 −0 |
| src/test/regress/expected/publication.out | modified | +13 −0 |
| src/test/regress/sql/object_address.sql | modified | +3 −0 |
| src/test/regress/sql/publication.sql | modified | +13 −0 |
Discussion
- warning to publication created and wal_level is not set to logical 19 messages · 2019-03-21 → 2019-07-13