Skip to content

need readonly user #3

Description

@masenf

CREATE USER pnwhoro WITH ENCRYPTED PASSWORD 'yyy';
GRANT CONNECT ON DATABASE pnwho TO pnwhoro;
# these must be executed while connected to pnwho DB
GRANT SELECT ON ALL TABLES IN SCHEMA public TO pnwhoro;
GRANT SELECT ON ALL VIEWS IN SCHEMA public TO pnwhoro;

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions