Skip to content

Commit

Permalink
Merge pull request #95 from xcube-dev/thomas-094-fix_pg16
Browse files Browse the repository at this point in the history
Closing #94
  • Loading branch information
thomasstorm authored Nov 1, 2024
2 parents 12ca938 + 7ab7c01 commit 864e095
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xcube_geodb/sql/geodb.sql
Original file line number Diff line number Diff line change
Expand Up @@ -798,7 +798,7 @@ DECLARE
BEGIN
usr := current_setting('request.jwt.claim.clientId', true);
BEGIN
EXECUTE format('CREATE ROLE %I LOGIN', user_name);
EXECUTE format('CREATE ROLE %I LOGIN ROLE %I', user_name, current_user);
EXCEPTION
WHEN duplicate_object THEN RAISE NOTICE '%, skipping', SQLERRM USING ERRCODE = SQLSTATE;
END;
Expand Down

0 comments on commit 864e095

Please sign in to comment.