Ali Faiez Taha <aftaha(at)cirp(dot)usp(dot)br> writes:
> The pgsql is running ok, but when the user pgsql try to create a
> database, the error message is:
>>> createdb example
> ERROR: CREATE DATABASE: permission denied
Looks to me like user pgsql is not a superuser? Check the privilege
columns in pg_user.
regards, tom lane