55

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

How can I do that?

Erwin Brandstetter
  • 605,456
  • 145
  • 1,078
  • 1,228
matheusvmbruno
  • 2,140
  • 3
  • 15
  • 20

1 Answers1

107

It's more simple than I thought.

GRANT CREATE ON DATABASE db TO user;
Steve Bennett
  • 114,604
  • 39
  • 168
  • 219
matheusvmbruno
  • 2,140
  • 3
  • 15
  • 20
  • is there documentation for this anywhere? The postgres docs are pretty scant on info about what the various GRANTs do.... – Him May 30 '23 at 23:05