git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 7969629) | patch
Replace tests of ALTER DATABASE RESET TABLESPACE.
2025年9月12日 19:44:14 +0000 (12:44 -0700)
2025年9月12日 19:44:14 +0000 (12:44 -0700)
commit 4adb0380b9bff5ec6424a9e87f76f8974b025367
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
src/test/regress/expected/database.out diff | blob | blame | history
src/test/regress/sql/database.sql diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /