By default, the INITDBOPTS variable is commented out in the service configuration file; unless modified, when you run the service startup script, the new cluster will be created in a mode compatible with Oracle databases. Clusters created in this mode will contain a database named edb, and have a database superuser named enterprisedb.
To create a new cluster in PostgreSQL mode,
remove the pound sign (#
) in front of the INITDBOPTS
variable, enabling the "--no-redwood-compat"
option. Clusters created in PostgreSQL mode will contain a database named postgres
, and have a database superuser named enterprisedb