Re: create subscription - improved warning message

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

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Peter Smith <smithpb2250@gmail.com>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2022-10-09T23:12:50Z
Lists: pgsql-hackers
Peter Smith <smithpb2250@gmail.com> writes:
> On Sat, Oct 8, 2022 at 2:23 AM Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> I think maybe a better message would be along the lines of
>> WARNING: subscription was created, but is not up-to-date
>> HINT: You should now run %s to initiate collection of data.

> [ how about ]
> WARNING: subscription was created, but is not connected
> HINT: You should run %s to initiate replication.

OK by me; anybody else want to weigh in?

			regards, tom lane



Commits

  1. Doc: Update information about manually creating slots.

  2. Improve the WARNING message for CREATE SUBSCRIPTION.