Re: making relfilenodes 56 bits
Dilip Kumar <dilipbalaut@gmail.com>
From: Dilip Kumar <dilipbalaut@gmail.com>
To: Thomas Munro <thomas.munro@gmail.com>
Cc: Robert Haas <robertmhaas@gmail.com>, Andres Freund <andres@anarazel.de>, Heikki Linnakangas <hlinnaka@iki.fi>,
pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2022-07-26T08:01:38Z
Lists: pgsql-hackers
Attachments
- v11-0001-Convert-buf_internal.h-macros-to-static-inline-f.patch (text/x-patch) patch v11-0001
- v11-0002-Preliminary-refactoring-for-supporting-larger-re.patch (text/x-patch) patch v11-0002
- v11-0003-Remove-the-restriction-that-the-relmap-must-be-5.patch (text/x-patch) patch v11-0003
- v11-0004-Widen-relfilenumber-from-32-bits-to-56-bits.patch (text/x-patch) patch v11-0004
On Thu, Jul 21, 2022 at 9:53 AM Thomas Munro <thomas.munro@gmail.com> wrote: > > On Wed, Jul 20, 2022 at 11:27 PM Dilip Kumar <dilipbalaut@gmail.com> wrote: > > [v10 patch set] > > Hi Dilip, I'm experimenting with these patches and will hopefully have > more to say soon, but I just wanted to point out that this builds with > warnings and failed on 3/4 of the CI OSes on cfbot's last run. Maybe > there is the good kind of uninitialised data on Linux, and the bad > kind of uninitialised data on those other pesky systems? Here is the patch to fix the issue, basically, while asserting for the file existence it was not setting the relfilenumber in the relfilelocator before generating the path so it was just checking for the existence of the random path so it was asserting randomly. -- Regards, Dilip Kumar EnterpriseDB: http://www.enterprisedb.com
Commits
-
Fix typos in comments, code and documentation
- 33ab0a2a527e 16.0 cited
-
Increase width of RelFileNumbers from 32 bits to 56 bits.
- 05d4cbf9b6ba 16.0 landed
-
Move RelFileNumber declarations to common/relpath.h.
- 2f47715cc864 16.0 landed
-
Include RelFileLocator fields individually in BufferTag.
- 82ac34db2036 16.0 landed
-
Convert macros to static inline functions (buf_internals.h)
- 3ac88fddd92c 16.0 landed
-
Remove the restriction that the relmap must be 512 bytes.
- d8cd0c6c95c0 16.0 landed
-
Change internal RelFileNode references to RelFileNumber or RelFileLocator.
- b0a55e43299c 16.0 landed
-
Reorder subskiplsn in pg_subscription to avoid alignment issues.
- 79b716cfb7a1 15.0 cited
-
Fix DROP {DATABASE,TABLESPACE} on Windows.
- 4eb2176318d0 15.0 cited
-
Restructure smgr API as per recent proposal. smgr no longer depends on
- 87bd95638552 8.0.0 cited