Use --no-unlogged-table-data in t/027_stream_regress.pl.
authorNoah Misch <noah@leadboat.com>
Sat, 25 Jun 2022 16:07:41 +0000 (09:07 -0700)
committerNoah Misch <noah@leadboat.com>
Sat, 25 Jun 2022 16:07:41 +0000 (09:07 -0700)
This removes the need to drop unlogged relations in the src/test/regress
suite, like commit dec8ad367e46180f826d5b6dc820fbecba1b71d2 did.

Reviewed by Thomas Munro.

Discussion: https://postgr.es/m/39945.1650895508@sss.pgh.pa.us

src/test/recovery/t/027_stream_regress.pl

index fdb4ea0bf50e1766ae9782c91a33d27ab6a8de0e..7982ac08d0aa6a8ca8089a07752de31ad37efb7c 100644 (file)
@@ -100,7 +100,8 @@ $node_primary->wait_for_catchup($node_standby_1, 'replay',
 command_ok(
    [
        'pg_dumpall', '-f', $outputdir . '/primary.dump',
-       '--no-sync', '-p', $node_primary->port
+       '--no-sync',  '-p', $node_primary->port,
+       '--no-unlogged-table-data'    # if unlogged, standby has schema only
    ],
    'dump primary server');
 command_ok(