Why do not you use a newer version of PostgreSQL,? from the range of 9
2018-02-06 15:09 GMT-03:00 marcos sr <msr(dot)mailing(at)gmail(dot)com>:
> Hello
>
> I'm new on postgres. I'm trying to create a database with a user who have
> CREATEDB role. But I'm getting this error ERROR: 42501: must be member of
> role "name"
>
> I need a user to create different databases automatically via a control
> panel. The strange is that is a legacy code who was working perfectly and
> don't have nothing documented.
>
> I'm using postgress 8.4
>