PostgREST failed when querying role settings where current role name contained uppercase letters. This commit resolves it by quoting the CURRENT_USER. Signed-off-by: Taimoor Zaeem <taimoorzaeem@gmail.com>
6 lines
211 B
SQL
6 lines
211 B
SQL
DROP ROLE IF EXISTS postgrest_test_anonymous, postgrest_test_author;
|
|
CREATE ROLE postgrest_test_anonymous;
|
|
CREATE ROLE postgrest_test_author;
|
|
|
|
GRANT postgrest_test_anonymous, postgrest_test_author TO :"PGUSER";
|