v2-0001-Fix-maxblkno-constant-to-use-MaxBlockNumber-in-te.patch
application/octet-stream
Filename: v2-0001-Fix-maxblkno-constant-to-use-MaxBlockNumber-in-te.patch
Type: application/octet-stream
Part: 1
Patch
Same data as JSON:
GET /api/v1/attachments/:id/patch
the parsed metadata as JSON — format, series position, per-file stats; never the diff bytes.
API reference →
Format: format-patch
Series: patch v2-0001
Subject: Fix maxblkno constant to use MaxBlockNumber in test_tidstore.sql.
| File | + | − |
|---|---|---|
| src/test/modules/test_tidstore/expected/test_tidstore.out | 1 | 1 |
| src/test/modules/test_tidstore/sql/test_tidstore.sql | 1 | 1 |
From 288cffa984e5a5a4350becd6ef91709bb61d78c3 Mon Sep 17 00:00:00 2001 From: Masahiko Sawada <sawada.mshk@gmail.com> Date: Thu, 5 Jun 2025 16:28:06 -0700 Subject: [PATCH v2 1/4] Fix maxblkno constant to use MaxBlockNumber in test_tidstore.sql. --- src/test/modules/test_tidstore/expected/test_tidstore.out | 2 +- src/test/modules/test_tidstore/sql/test_tidstore.sql | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/modules/test_tidstore/expected/test_tidstore.out b/src/test/modules/test_tidstore/expected/test_tidstore.out index cbcacfd26e1..13993bbfe7b 100644 --- a/src/test/modules/test_tidstore/expected/test_tidstore.out +++ b/src/test/modules/test_tidstore/expected/test_tidstore.out @@ -2,7 +2,7 @@ CREATE EXTENSION test_tidstore; -- To hide the output of do_set_block_offsets() CREATE TEMP TABLE hideblocks(blockno bigint); -- Constant values used in the tests. -\set maxblkno 4294967295 +\set maxblkno 0xFFFFFFFE -- The maximum number of heap tuples (MaxHeapTuplesPerPage) in 8kB block is 291. -- We use a higher number to test tidstore. \set maxoffset 512 diff --git a/src/test/modules/test_tidstore/sql/test_tidstore.sql b/src/test/modules/test_tidstore/sql/test_tidstore.sql index a29e4ec1c55..86770ba316f 100644 --- a/src/test/modules/test_tidstore/sql/test_tidstore.sql +++ b/src/test/modules/test_tidstore/sql/test_tidstore.sql @@ -4,7 +4,7 @@ CREATE EXTENSION test_tidstore; CREATE TEMP TABLE hideblocks(blockno bigint); -- Constant values used in the tests. -\set maxblkno 4294967295 +\set maxblkno 0xFFFFFFFE -- The maximum number of heap tuples (MaxHeapTuplesPerPage) in 8kB block is 291. -- We use a higher number to test tidstore. \set maxoffset 512 -- 2.43.5