Re: Unify a recently-added inconsisnt message

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Cc: pgsql-hackers@lists.postgresql.org
Date: 2025-03-17T16:55:21Z
Lists: pgsql-hackers

Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. Unify wording of user-facing "row security" messages.

  2. pg_dump, pg_dumpall, pg_restore: Add --no-policies option.

Kyotaro Horiguchi <horikyota.ntt@gmail.com> writes:
> I noticed that the recent commit cd3c45125d2 introduced the following
> three inconsistent messages at the same time:
> pg_dump.c:
> +       printf(_("  --no-policies                do not dump row security policies\n"));
> pg_dumpall.c:
> +       printf(_("  --no-policies                do not dump row security policies\n"));
> pg_restore.c:
> +       printf(_("  --no-policies                do not restore row level security policies\n"));

Ooops :-(.  I should have caught that during review.

> Please find the attached patch that updates the inconsistent message.

Pushed, thanks for noticing it.

			regards, tom lane