Improve errmsg for publication membership

From: Peter Smith <smithpb2250(at)gmail(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Improve errmsg for publication membership
Date: 2026-06-03 05:10:00
Message-ID: CAHut+Pvyj3ad7g-Sb98LDsf1i4c+92rqr+OVG9Lb3fikc_POLg@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Here is a patch to reword 2 publication error messages:

BEFORE/AFTER
"relation \"%s\" is already member of publication \"%s\"",
"relation \"%s\" is already a member of publication \"%s\"",

BEFORE/AFTER
"schema \"%s\" is already member of publication \"%s\"",
"schema \"%s\" is already a member of publication \"%s\"",

~~~

All other 'member of' error messages in PostgreSQL source are using
correct grammar ('a member of'), so IMO these should do likewise.

PSA v1.

======
Kind Regards,
Peter Smith.
Fujitsu Australia

Attachment Content-Type Size
v1-0001-fix-errmsg-grammar-for-publication-membership.patch application/octet-stream 2.6 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Shinya Kato 2026-06-03 05:23:35 Re: Reject HEADER with binary and json COPY formats by option presence
Previous Message vignesh C 2026-06-03 04:40:57 Re: Proposal: Conflict log history table for Logical Replication