Hi Hackers,
While reading the code, I noticed an incorrect comment in the main() function of src/bin/pg_resetwal/pg_resetwal.c. In the block handling the -e option, there’s a comment that appears to be a copy-paste error (line 190 and 191). It references a second %s, but none exists in that format string. Moreover, similar argument-handling code for other options doesn’t include such a comment. I believe it should be removed. Attached is a patch that fixes this issue. Best regards, -- Gavin LYU
0001-PATCH-remove-wrong-comment-in-pg_resetwal.c.patch
Description: Binary data
