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

Commitccf2897

Browse files
committed
Remove tests added bybd807be.
The buildfarm is unhappy. It's not obvious why it doesn't likethese tests, but let's remove them until we figure it out.Discussion:http://postgr.es/m/462618.1636171009@sss.pgh.pa.us
1 parentc3ec4f8 commitccf2897

File tree

1 file changed

+3
-21
lines changed

1 file changed

+3
-21
lines changed

‎src/bin/pg_amcheck/t/004_verify_heapam.pl

Lines changed: 3 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ sub write_tuple
218218
my$relpath ="$pgdata/$rel";
219219

220220
# Insert data and freeze public.test
221-
use constantROWCOUNT=>18;
221+
use constantROWCOUNT=>16;
222222
$node->safe_psql(
223223
'postgres',qq(
224224
INSERT INTO public.test (a, b, c)
@@ -297,7 +297,7 @@ sub write_tuple
297297
$node->start;
298298

299299
# Ok, Xids and page layout look ok. We can run corruption tests.
300-
plantests=>21;
300+
plantests=>19;
301301

302302
# Check that pg_amcheck runs against the uncorrupted table without error.
303303
$node->command_ok(
@@ -504,7 +504,7 @@ sub header
504504
push@expected,
505505
qr/${header}multitransaction ID 4 equals or exceeds next valid multitransaction ID 1/;
506506
}
507-
elsif ($offnum == 15)
507+
elsif ($offnum == 15)# Last offnum must equal ROWCOUNT
508508
{
509509
# Set both HEAP_XMAX_COMMITTED and HEAP_XMAX_IS_MULTI
510510
$tup->{t_infomask} |= HEAP_XMAX_COMMITTED;
@@ -514,24 +514,6 @@ sub header
514514
push@expected,
515515
qr/${header}multitransaction ID 4000000000 precedes relation minimum multitransaction ID threshold 1/;
516516
}
517-
elsif ($offnum == 16)
518-
{
519-
# Set raw size too large
520-
$tup->{c_va_rawsize} = 1073741824;
521-
522-
$header = header(0,$offnum, 2);
523-
push@expected,
524-
qr/${header}toast value\d+ rawsize 1073741824 exceeds limit 1073741823/;
525-
}
526-
elsif ($offnum == 17)# Last offnum should equal ROWCOUNT-1
527-
{
528-
# Set raw size too small.
529-
$tup->{c_va_rawsize} = 9998;
530-
531-
$header = header(0,$offnum, 2);
532-
push@expected,
533-
qr/${header}toast value\d+ external size 10000 exceeds maximum expected for rawsize 9998/;
534-
}
535517
write_tuple($file,$offset,$tup);
536518
}
537519
close($file)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp