Drop test view when done with it.
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 28 Feb 2023 01:27:48 +0000 (20:27 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 28 Feb 2023 01:27:48 +0000 (20:27 -0500)
The view just added by commit 53fe7e6cb decompiles differently
in v15 than HEAD (presumably as a consequence of 47bb9db75).
That causes failures in cross-version upgrade testing.

We could teach AdjustUpgrade.pm to compensate for that, but it
seems less painful to just drop the view after we're done with it.

Per buildfarm.

contrib/postgres_fdw/expected/postgres_fdw.out
contrib/postgres_fdw/sql/postgres_fdw.sql

index 502c884e6485f55b9b2514f9a29e387fe2d2fa23..04a3ef450cf0340d688a875b294d34ba96b0b170 100644 (file)
@@ -11679,6 +11679,9 @@ SELECT count(*) FROM remote_application_name
      1
 (1 row)
 
+-- Clean up.
+DROP FOREIGN TABLE remote_application_name;
+DROP VIEW my_application_name;
 -- ===================================================================
 -- test parallel commit
 -- ===================================================================
index 52565be9ef541bf28e12b4438203ea5376a48e8f..4f3088c03ea1855ba6e215dc6a2dd64afde492b1 100644 (file)
@@ -3894,6 +3894,10 @@ SELECT count(*) FROM remote_application_name
       to_hex(pg_backend_pid())
       for current_setting('max_identifier_length')::int);
 
+-- Clean up.
+DROP FOREIGN TABLE remote_application_name;
+DROP VIEW my_application_name;
+
 -- ===================================================================
 -- test parallel commit
 -- ===================================================================