forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commita949b73
committed
Reject missing database name in pg_regress and cohorts.
Writing "pg_regress --dbname= ..." led to a crash, becausewe weren't expecting there to be no database name supplied.It doesn't seem like a great idea to run regression testsin whatever is the user's default database; so rather thansupporting this case let's explicitly reject it.Per report from Xing Guo. Back-patch to all supportedbranches.Discussion:https://postgr.es/m/CACpMh+A8cRvtvtOWVAZsCM1DU81GK4DL26R83y6ugZ1osV=ifA@mail.gmail.com1 parent5d208b9 commita949b73
1 file changed
+11
-0
lines changedLines changed: 11 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2308 | 2308 |
| |
2309 | 2309 |
| |
2310 | 2310 |
| |
| 2311 | + | |
| 2312 | + | |
| 2313 | + | |
| 2314 | + | |
| 2315 | + | |
| 2316 | + | |
| 2317 | + | |
| 2318 | + | |
| 2319 | + | |
| 2320 | + | |
| 2321 | + | |
2311 | 2322 |
| |
2312 | 2323 |
| |
2313 | 2324 |
| |
|
0 commit comments
Comments
(0)