diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2022-10-18 11:46:58 +0200 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2022-10-18 11:46:58 +0200 |
commit | 915a6c4e22ecc4775b9ed18312bf12d896cd2b11 (patch) | |
tree | c6d98e6970406e2fc0b46c53ec53cccd3e5232f7 /contrib/postgres_fdw/postgres_fdw.c | |
parent | eddc128beac0f6e7b87e003888b0e947f7548e8a (diff) | |
download | postgresql-915a6c4e22ecc4775b9ed18312bf12d896cd2b11.tar.gz postgresql-915a6c4e22ecc4775b9ed18312bf12d896cd2b11.zip |
Improve errhint for ALTER SUBSCRIPTION ADD/DROP PUBLICATION
The original hint says to use SET PUBLICATION when really ADD/DROP
PUBLICATION is called for, so this is arguably a bug fix.
Also, a very similar message elsewhere was using an inconsistent
SQLSTATE.
While at it, unwrap some strings.
Backpatch to 15.
Author: Hou zj <houzj.fnst@fujitsu.com>
Discussion: https://postgr.es/m/OS0PR01MB57160AD0E7386547BA978EB394299@OS0PR01MB5716.jpnprd01.prod.outlook.com
Diffstat (limited to 'contrib/postgres_fdw/postgres_fdw.c')
0 files changed, 0 insertions, 0 deletions