1-- Lock down most default privileges from a cluster
2REVOKE ALL PRIVILEGES ON DATABASE postgres FROM public;
3REVOKE ALL PRIVILEGES ON DATABASE template1 FROM public;
4REVOKE ALL PRIVILEGES ON DATABASE template0 FROM public;
5DROP SCHEMA public;
6<<<hidden due to potential security issue>>>
7GRANT CONNECT ON DATABASE postgres TO creator;
8\CONNECT template1
9DROP SCHEMA public;