uris77
11/25/2015 - 5:17 PM

Postgres Tips

Postgres Tips

Force a user to have a default schema other than public:

ALTER USER <user> SET search_path=<schema>;

Grant permissions to a schema for a user:

GRANT ALL PRIVILEGES ON SCHEMA <schema> to <user>;