PostgreSQL: adding users & databases, and dropping them

I have a mental block on adding and removing users in PostgreSQL.

Land Rover Defender 90 TD5 Soft Top by LitterART.

Land Rover Defender 90 TD5 Soft Top by LitterART

CREATE USER project_user
    WITH PASSWORD 'password';
CREATE DATABASE project;
GRANT ALL PRIVILEGES ON DATABASE project_user
    TO project;

DROP DATABASE project;
DROP USER project_user;

Sorry mum.

Posted on Thursday 17th June, 2010.

The short URL for this post is: http://sneeu.com/s/pBY