Improve publication error messages

Daniel Gustafsson <dgustafsson@postgresql.org>

Commit: aa12781b0d039d93e1a851ece4bc75c3746cbd43
Author: Daniel Gustafsson <dgustafsson@postgresql.org>
Date: 2021-11-17T13:40:38Z
Releases: 15.0
Improve publication error messages

Commit 81d5995b4b introduced more fine-grained errormessages for
incorrect relkinds for publication, while unlogged and temporary
tables were reported with using the same message.  This provides
separate error messages for these types of relpersistence.

Author: Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Reviewed-by: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Reviewed-by: Jeevan Ladhe <jeevan.ladhe@enterprisedb.com>
Reviewed-by: Euler Taveira <euler@eulerto.com>
Discussion: https://postgr.es/m/CALj2ACW9S=AswyQHjtO6WMcsergMkCBTtzXGrM8DX26DzfeTLQ@mail.gmail.com

Files

Discussion