pgsql: Fix test name and username used in failed connection attempts

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix test name and username used in failed connection attempts
Date: 2025-03-09 18:19:18
Message-ID: E1trLF8-001cma-01@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/2a943afcff444bade64ad5209f8b248d8d449383

Modified Files
--------------
src/test/postmaster/t/002_connection_limits.pl | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Heikki Linnakangas 2025-03-09 18:43:39 pgsql: Fix incorrect assertion in libpqwalreceiver
Previous Message Tom Lane 2025-03-09 17:11:33 pgsql: Don't try to parallelize array_agg() on an anonymous record type