Re: Printing LSN made easy
Ashutosh Bapat <ashutosh.bapat@enterprisedb.com>
From: Ashutosh Bapat <ashutosh.bapat@enterprisedb.com>
To: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Cc: Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>, pgsql-hackers <pgsql-hackers@postgresql.org>,
Craig Ringer <craig.ringer@enterprisedb.com>
Date: 2021-02-18T13:21:37Z
Lists: pgsql-hackers
On Thu, Feb 18, 2021 at 6:19 PM Peter Eisentraut < peter.eisentraut@2ndquadrant.com> wrote: > Here is an updated patch that just introduces LSN_FORMAT_ARGS(). I > think the result is quite pleasant. > Thanks a lot Peter for producing this patch. I am fine with it. The way this is defined someone could write xyz = LSN_FORMAT_ARGS(lsn). But then they are misusing it so I won't care. Even my proposal had that problem. -- Best Wishes, Ashutosh
Commits
-
Simplify printing of LSNs
- 6f6f284c7ee4 14.0 landed
-
Unwind some workarounds for lack of portable int64 format specifier
- 6a1cd8b9236d 13.0 cited