Fix typo in migration testing related to pg_monitor (#12530)

We should be joining on the neon_superuser roleid, not the pg_monitor
roleid.

Signed-off-by: Tristan Partin <tristan.partin@databricks.com>
This commit is contained in:
Tristan Partin
2025-07-09 11:47:21 -05:00
committed by GitHub
parent 2f71eda00f
commit 12c26243fc

View File

@@ -6,7 +6,7 @@ BEGIN
admin_option AS admin
INTO monitor
FROM pg_auth_members
WHERE roleid = 'pg_monitor'::regrole
WHERE roleid = 'neon_superuser'::regrole
AND member = 'pg_monitor'::regrole;
IF NOT monitor.member THEN