mirror of
https://github.com/neondatabase/neon.git
synced 2025-12-22 21:59:59 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user