Skip to content

[Messenger] PostgreSQL transport breaks doctrine:schema:create command #37067

Closed
@alexismarquis

Description

@alexismarquis

Symfony version(s) affected: 5.1.0

Description
It seems that the new PostgreSQL LISTEN/NOTIFY support breaks doctrine:schema:create command. It throws an SQL error :

LOCK TABLE can only be used in transaction blocks

How to reproduce
Run php bin/console doctrine:schema:create with Messenger configured with Doctrine PostgreSQL transport.

image

Ping @dunglas ?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions