From: | Noah Misch <noah(at)leadboat(dot)com> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Replace tests of ALTER DATABASE RESET TABLESPACE. |
Date: | 2025-09-12 19:45:51 |
Message-ID: | E1ux9iQ-000Og8-2H@gemulon.postgresql.org |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | 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(at)sss(dot)pgh(dot)pa(dot)us>
Reviewed-by: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2025-09-12 21:43:24 | pgsql: Fix oversights in pg_event_trigger_dropped_objects() fixes. |
Previous Message | Peter Geoghegan | 2025-09-12 17:23:24 | pgsql: Always commute strategy when preprocessing DESC keys. |