diff options
| author | Fujii Masao | 2025-08-14 02:12:03 +0000 |
|---|---|---|
| committer | Fujii Masao | 2025-08-14 02:12:03 +0000 |
| commit | 12f3639ee70254dc5d83f170c2f34cfeb444980e (patch) | |
| tree | 7538742227b5300e7d5315d5b327e688b3210317 /src | |
| parent | ee54046601de2d14ca9107ba04c50178d9b52fe6 (diff) | |
Fix incorrect LSN format in comment.
The comment previously used %X/08X, which is wrong.
Updated it to the standardized format %X/%08X.
Author: Japin Li <japinli@hotmail.com>
Discussion: https://postgr.es/m/ME0P300MB0445A37908EFCCD15E6D749DB62BA@ME0P300MB0445.AUSP300.PROD.OUTLOOK.COM
Diffstat (limited to 'src')
| -rw-r--r-- | src/include/access/xlogdefs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/access/xlogdefs.h b/src/include/access/xlogdefs.h index 514f03df0b6..2397fb24115 100644 --- a/src/include/access/xlogdefs.h +++ b/src/include/access/xlogdefs.h @@ -38,7 +38,7 @@ typedef uint64 XLogRecPtr; /* * Handy macro for printing XLogRecPtr in conventional format, e.g., * - * printf("%X/08X", LSN_FORMAT_ARGS(lsn)); + * printf("%X/%08X", LSN_FORMAT_ARGS(lsn)); * * To avoid breaking translatable messages, we're directly applying the * LSN format instead of using a macro. |
