diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2022-11-30 13:01:41 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2022-11-30 13:01:41 -0500 |
commit | ae9939020dda40af579678489b11ef20fe3cca05 (patch) | |
tree | 366963bb27ac53b5d8adeac4ad61a7365678bc02 /src/backend/executor/nodeSubplan.c | |
parent | 4df5462f345b5e50cedf42300cad8616c7df3f6d (diff) | |
download | postgresql-ae9939020dda40af579678489b11ef20fe3cca05.tar.gz postgresql-ae9939020dda40af579678489b11ef20fe3cca05.zip |
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 'src/backend/executor/nodeSubplan.c')
0 files changed, 0 insertions, 0 deletions