Opened 2 years ago
Closed 2 years ago
#5190 closed defect (fixed)
run_test.pl confused about regress db existing
Reported by: | strk | Owned by: | strk |
---|---|---|---|
Priority: | medium | Milestone: | PostGIS 3.2.3 |
Component: | build | Version: | 3.2.x |
Keywords: | Cc: |
Description
Snippet from output of run_test.pl:
$ ../regress/run_test.pl -v --upgrade-path unpackaged3.2--:auto ../regress/core/tickets [...] Database postgis_reg already exists, dropping. dropdb: error: database removal failed: ERROR: database "postgis_reg" does not exist [...]
I guess the "already exists" detection is broken.
Note:
See TracTickets
for help on using tickets.
Figured: we are using regexp "\b${DB}\b" to find out if the database exists, which also matches "postgis_reg-3.3" when DB=postgis_reg