Fix comment in report_sequence_errors() - Mailing list pgsql-hackers

From Imran Zaheer
Subject Fix comment in report_sequence_errors()
Date
Msg-id CA+UBfanz=hfENE8dXugqccsdTX4Qf-eLW2QQUpXC6Yd_v-KW7w@mail.gmail.com
Whole thread
Responses Re: Fix comment in report_sequence_errors()
List pgsql-hackers
Hi

I noticed an incorrect comment in report_sequence_errors() in sequencesync.c.

The function comment describes case (c) as:

```
* c) missing sequences on the subscriber
```

However, the actual warning message emitted and the logic that
populates missing_seqs_idx both refer to sequences that are missing on
the publisher side, not the subscriber.

The fix is to replace "subscriber" with "publisher" in that comment line.

Thanks
Imran Zaheer

Attachment

pgsql-hackers by date:

Previous
From: JoongHyuk Shin
Date:
Subject: Re: [PATCH] Don't call ereport(ERROR) from recovery target GUC assign hooks
Next
From: Junwang Zhao
Date:
Subject: Re: Copy from JSON FORMAT.