diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2024-03-09 16:20:44 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2024-03-09 16:20:44 -0500 |
commit | 519443162dce52a3b10372338401d63084f720b8 (patch) | |
tree | fe540f18362dd458f91e6ca9713d4819be1a92e1 /src/backend/commands/view.c | |
parent | 76904eda25500dd4c6969f3a2a7c0f00146fd763 (diff) | |
download | postgresql-519443162dce52a3b10372338401d63084f720b8.tar.gz postgresql-519443162dce52a3b10372338401d63084f720b8.zip |
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
Diffstat (limited to 'src/backend/commands/view.c')
0 files changed, 0 insertions, 0 deletions