From 8b2ac8c18fd51900d9817f2907a1009c12a0bc53 Mon Sep 17 00:00:00 2001 From: Jack Christensen Date: Sat, 29 Oct 2022 17:45:13 -0500 Subject: [PATCH] Fix unix domain socket tests on CI --- testsetup/postgresql_setup.sql | 3 +++ 1 file changed, 3 insertions(+) diff --git a/testsetup/postgresql_setup.sql b/testsetup/postgresql_setup.sql index 145aa608..66d3eb11 100644 --- a/testsetup/postgresql_setup.sql +++ b/testsetup/postgresql_setup.sql @@ -9,6 +9,9 @@ create user pgx_md5 PASSWORD 'secret'; set password_encryption = 'scram-sha-256'; create user pgx_pw PASSWORD 'secret'; create user pgx_scram PASSWORD 'secret'; +\set whoami `whoami` +create user :whoami; -- unix domain socket user + -- The tricky test user, below, has to actually exist so that it can be used in a test -- of aclitem formatting. It turns out aclitems cannot contain non-existing users/roles.