Skip to content

PostgreSQL: Created user is not the owner of created database #40

@xantrix

Description

@xantrix

This raises an error during e.g. a Drupal installation

https://www.drupal.org/project/drupal/issues/2569365

Install fails with PostgreSQL if "bytea_output" value is equal to "hex"

because the user does not have the privileges to change the database.

SQLSTATE[42501]: Insufficient privilege: 7 ERROR:  must be the owner of the database testd8: ALTER DATABASE "testd8" SET bytea_output = 'escape';

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions