Fix test name and username used in failed connection attempts
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Sun, 9 Mar 2025 17:47:55 +0000 (19:47 +0200)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Sun, 9 Mar 2025 17:47:55 +0000 (19:47 +0200)
commit2a943afcff444bade64ad5209f8b248d8d449383
treef7574f93f2e0fc4da793bbca05d30014413300ce
parentfedfcf66506fa9bf2259a88ae711e7ad7bde0011
Fix test name and username used in failed connection attempts

The first failed connection tests the "regular" connections limit, not
the reserved limit.

In the second failed connection, the username doesn't really matter,
but since the previous successful connections used "regress_reserved",
it seems weird to switch back to "regress_regular" for the
expected-to-fail attempt.

Discussion: https://www.postgresql.org/message-id/fd5e9523-78d3-4270-86b2-fd1b1eeb4fc9@iki.fi
src/test/postmaster/t/002_connection_limits.pl