Improve some publication-related error messages

Alvaro Herrera <alvherre@alvh.no-ip.org>

Commit: 4148c8b3daf95ca308f055e103f6ee82e25b8f99
Author: Alvaro Herrera <alvherre@alvh.no-ip.org>
Date: 2022-09-27T12:11:31Z
Releases: 16.0
Improve some publication-related error messages

While at it, remove an unused queryString parameter from
CheckPubRelationColumnList() and make other minor stylistic changes.

Backpatch to 15.

Reported by Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Co-authored-by: Hou zj <houzj.fnst@fujitsu.com>
Discussion: https://postgr.es/m/20220926.160426.454497059203258582.horikyota.ntt@gmail.com

Files

Discussion