Skip to content

Instantly share code, notes, and snippets.

@jmayaalv
Created October 19, 2015 20:48
Show Gist options
  • Save jmayaalv/4cd4b79be0e961a9108f to your computer and use it in GitHub Desktop.
Save jmayaalv/4cd4b79be0e961a9108f to your computer and use it in GitHub Desktop.
[10/19/15, 3:47:56 PM] Juan E. Maya: create role  slftestdb login password '^1mnuj7s';
[10/19/15, 3:48:11 PM] Juan E. Maya: create schema ims authorization slftestdb;
create schema pgcontrib;
grant all on schema ims to slftestdb;
grant all on schema pgcontrib to slftestdb;
alter user  slftestdb set search_path = ims, pgcontrib;
SET search_path TO ims, pgcontrib,public;
revoke create on schema public from public;
commit;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment