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

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 76904ed) | patch
Simplify and merge unwanted-module drop logic in AdjustUpgrade.pm.
Sat, 9 Mar 2024 21:20:44 +0000 (16:20 -0500)
Sat, 9 Mar 2024 21:20:44 +0000 (16:20 -0500)
commit 519443162dce52a3b10372338401d63084f720b8
Simplify and merge unwanted-module drop logic in AdjustUpgrade.pm.

In be7800674 and followups, we failed to notice that there was
already a better way to do it: instead of using DROP DATABASE
IF EXISTS, we can check the list of existing DBs. Also, there
seems no reason not to merge this into the pre-existing code
for getting rid of unwanted module databases.

Discussion: https://postgr.es/m/1066872.1710006597@sss.pgh.pa.us
src/test/perl/PostgreSQL/Test/AdjustUpgrade.pm diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

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