my $pg_control = $node->data_dir . '/global/pg_control';
my $size = -s $pg_control;
open my $fh, '>', $pg_control or BAIL_OUT($!);
binmode $fh;
# fill file with zeros
print $fh pack("x[$size]");
close $fh;
command_checks_all(
[ 'pg_controldata', $node->data_dir ], 0,
[qr/./],
[
qr/warning: calculated CRC checksum does not match value stored in control file/,
qr/warning: invalid WAL segment size/
], 'pg_controldata with corrupted pg_control');
done_testing();
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.11 Sekunden
(vorverarbeitet am 2026-09-27)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.