Grant "create schema" ON database to a user?

matheusvmbruno picture matheusvmbruno · Jun 1, 2012 · Viewed 24.5k times · Source

I'm using PostgreSQL 9.1 and have to to grant "create schema" ON database to a user.

How can I do that?

Answer

matheusvmbruno picture matheusvmbruno · Jun 1, 2012

It's more simple than I thought.

GRANT CREATE ON DATABASE db TO user;