Checking usecreatedb rights
postgres=# postgres=# -- Checking usecreatedb rights postgres=# postgres=# SELECT usecreatedb FROM pg_user WHERE usename='guest'; usecreatedb ------------- (0 rows) postgres=#