Re: pg_serial early wraparound
Thomas Munro <thomas.munro@enterprisedb.com>
From: Thomas Munro <thomas.munro@enterprisedb.com>
To: Anastasia Lubennikova <lubennikovaav@gmail.com>
Cc: Pg Hackers <pgsql-hackers@postgresql.org>, Thomas Munro <munro@ip9.org>
Date: 2017-06-28T01:11:29Z
Lists: pgsql-hackers
Attachments
- ssi-slru-wraparound-v2.patch (application/octet-stream) patch v2
On Sat, Mar 25, 2017 at 7:27 AM, Thomas Munro <thomas.munro@enterprisedb.com> wrote: > On Sat, Mar 25, 2017 at 3:11 AM, Anastasia Lubennikova > <lubennikovaav@gmail.com> wrote: >> You claim that SLRUs now support five digit segment name, while in slru.h >> at current master I see the following: >> >> * Note: slru.c currently assumes that segment file names will be four hex >> * digits. This sets a lower bound on the segment size (64K transactions >> * for 32-bit TransactionIds). >> */ I've now complained about that comment in a separate thread. > It's not urgent, it's just cleanup work, so I've now moved it to the > next commitfest. I will try to figure out a new way to demonstrate > that it works correctly without having to ask a review[er] to disable > any assertions. Thanks again. Here's a rebased batch. -- Thomas Munro http://www.enterprisedb.com
Commits
-
Remove obsolete SLRU wrapping and warnings from predicate.c.
- e5eb4fa87331 11.0 landed
-
Remove incorrect assertion in clog.c
- ec99dd5aee8b 10.0 cited
-
Keep track of transaction commit timestamps
- 73c986adde5d 9.5.0 cited
-
Handle 5-char filenames in SlruScanDirectory
- 638cf09e76d7 9.4.0 cited