pgsql: Replace tests of ALTER DATABASE RESET TABLESPACE. - Mailing list pgsql-committers

From Noah Misch
Subject pgsql: Replace tests of ALTER DATABASE RESET TABLESPACE.
Date
Msg-id E1ux9iQ-000Og8-2H@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Replace tests of ALTER DATABASE RESET TABLESPACE.

This unblocks rejection of that syntax.  One copy was a misspelling of
"SET TABLESPACE pg_default" that instead made no persistent changes.
The other copy just needed to populate a DATABASEOID syscache entry.
This slightly raises database.sql test coverage of catcache.c, while
dbcommands.c coverage remains the same.

Reported-by: Tom Lane <tgl@sss.pgh.pa.us>
Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://postgr.es/m/1802710.1757608564@sss.pgh.pa.us

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/4adb0380b9bff5ec6424a9e87f76f8974b025367

Modified Files
--------------
src/test/regress/expected/database.out | 4 ++--
src/test/regress/sql/database.sql      | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)


pgsql-committers by date:

Previous
From: Peter Geoghegan
Date:
Subject: pgsql: Always commute strategy when preprocessing DESC keys.
Next
From: Tom Lane
Date:
Subject: pgsql: Fix oversights in pg_event_trigger_dropped_objects() fixes.