Re: walsender.c comment with no context is hard to understand
Peter Smith <smithpb2250@gmail.com>
From: Peter Smith <smithpb2250@gmail.com>
To: Michael Paquier <michael@paquier.xyz>
Cc: vignesh C <vignesh21@gmail.com>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2024-06-27T23:44:38Z
Lists: pgsql-hackers
Attachments
- v1-0001-Fix-walsender-comment.patch (application/octet-stream) patch v1-0001
On Thu, Jun 27, 2024 at 3:44 PM Michael Paquier <michael@paquier.xyz> wrote: > > On Wed, Jun 26, 2024 at 02:30:26PM +0530, vignesh C wrote: > > On Mon, 3 Jun 2024 at 11:21, Peter Smith <smithpb2250@gmail.com> wrote: > >> Perhaps the comment should say something like it used to: > >> /* Fail if there is not enough WAL available. This can happen during > >> shutdown. */ > > > > Agree with this, +1 for this change. > > That would be an improvement. Would you like to send a patch with all > the areas you think could stand for improvements? > -- OK, I attached a patch equivalent of the suggestion in this thread. ====== Kind Regards, Peter Smith. Fujitsu Australia
Commits
-
To improve the code, move the error check in logical_read_xlog_page().
- 571f7f70865c 18.0 landed
-
Allow logical decoding on standbys
- 0fdab27ad68a 16.0 cited
-
Fix walsender to exit promptly if client requests shutdown.
- fca85f8ef157 10.0 cited