user privileges postgresql information_schema
GRANT SELECT ON ALL TABLES IN SCHEMA PUBLIC TO testuser2;
user privileges postgresql information_schema
GRANT SELECT ON ALL TABLES IN SCHEMA PUBLIC TO testuser2;
postgresql check privileges on schema
WITH "names"("name") AS (
SELECT n.nspname AS "name"
FROM pg_catalog.pg_namespace n
WHERE n.nspname !~ '^pg_'
AND n.nspname <> 'information_schema'
) SELECT "name",
pg_catalog.has_schema_privilege(current_user, "name", 'CREATE') AS "create",
pg_catalog.has_schema_privilege(current_user, "name", 'USAGE') AS "usage"
FROM "names";
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us