Fixed buffer size for empty sparsevec with max dimensions (no impact to users due to Postgres allocation alignment) [skip ci]

Co-authored-by: 0xJi3F
(cherry picked from commit 5ffa6d022b211c89bb69bfd1d91cafbfeac8345a)
This commit is contained in:
Andrew Kane
2026-09-11 13:47:34 -07:00
committed by zeekay
parent a91f1c4c89
commit c3f4fed396
3 changed files with 9 additions and 2 deletions
+1
View File
@@ -38,6 +38,7 @@ SELECT '{1:1,1:1}/2'::sparsevec;
SELECT '{1:1,2:1,1:1}/2'::sparsevec;
SELECT '{}/5'::sparsevec;
SELECT '{}/-1'::sparsevec;
SELECT '{}/1000000000'::sparsevec;
SELECT '{}/1000000001'::sparsevec;
SELECT '{}/2147483648'::sparsevec;
SELECT '{}/-2147483649'::sparsevec;