diff options
| author | Tom Lane | 2022-11-30 18:01:41 +0000 |
|---|---|---|
| committer | Tom Lane | 2022-11-30 18:01:41 +0000 |
| commit | 04f3acc97e426c5df1e31cd51b86fc1a93ca77dc (patch) | |
| tree | 321c212b0d6d21d03055fb8d4e2af55f9efa1d1a /doc/src | |
| parent | 80e591676bf374c632cfec1b61fde0ca468988f8 (diff) | |
Reject missing database name in pg_regress and cohorts.
Writing "pg_regress --dbname= ..." led to a crash, because
we weren't expecting there to be no database name supplied.
It doesn't seem like a great idea to run regression tests
in whatever is the user's default database; so rather than
supporting this case let's explicitly reject it.
Per report from Xing Guo. Back-patch to all supported
branches.
Discussion: https://postgr.es/m/CACpMh+A8cRvtvtOWVAZsCM1DU81GK4DL26R83y6ugZ1osV=ifA@mail.gmail.com
Diffstat (limited to 'doc/src')
0 files changed, 0 insertions, 0 deletions
