Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0f516d0

Browse files
committed
Fix pgbench permute tests.
One of the tests for the pgbench permute() function added by6b258e3 fails on some 32-bit platforms, due to variations in thefloating point computations in getrand(). The remaining tests givesufficient coverage, so just remove the failing test.Reported by Christoph Berg. Analysis by Thomas Munro and Tom Lane.Based on patch by Fabien Coelho.Discussion:https://postgr.es/m/YKQnUoYV63GRJBDD@msg.df7cb.de
1 parent167bd48 commit0f516d0

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

‎src/bin/pgbench/t/001_pgbench_with_server.pl

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -496,8 +496,6 @@ sub pgbench
496496
qr{command=109.: boolean true\b},
497497
qr{command=110.: boolean true\b},
498498
qr{command=111.: boolean true\b},
499-
qr{command=112.: int 9223372036854775797\b},
500-
qr{command=113.: boolean true\b},
501499
],
502500
'pgbench expressions',
503501
{
@@ -643,15 +641,6 @@ sub pgbench
643641
\set t debug(permute(:v, 1) = 0)
644642
\set t debug(permute(0, 2, 5432) = 0 and permute(1, 2, 5432) = 1 and \
645643
permute(0, 2, 5435) = 1 and permute(1, 2, 5435) = 0)
646-
-- 63 bits tests
647-
\set size debug(:max - 10)
648-
\set t debug(permute(:size-1, :size, 5432) = 5301702756001087507 and \
649-
permute(:size-2, :size, 5432) = 8968485976055840695 and \
650-
permute(:size-3, :size, 5432) = 6708495591295582115 and \
651-
permute(:size-4, :size, 5432) = 2801794404574855121 and \
652-
permute(:size-5, :size, 5432) = 1489011409218895840 and \
653-
permute(:size-6, :size, 5432) = 2267749475878240183 and \
654-
permute(:size-7, :size, 5432) = 1300324176838786780)
655644
}
656645
});
657646

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp