You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to configure messenger dsn as doctrine and i am using Postgres database.
I want to set the option table_name and specify the schema like the example below
I have the error bellow when trying to doctrine:schema:update
SQLSTATE[3F000]: Invalid schema name: 7 ERROR: schema "notify_property_management" does not exist
Because the framework here tries to create to create a function in the DB and the sprintf consider that the option table_name has no schema.
I would suggest :
add the option schema_name
Or making the option table_name support a schema name
…bridge to support table name with schema (zimny9932)
This PR was squashed before being merged into the 5.4 branch.
Discussion
----------
[Messenger] Fix function name in TriggerSql on postgresql bridge to support table name with schema
…support table name with schema
| Q | A
| ------------- | ---
| Branch? | 5.4
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Tickets | Fix#46984
| License | MIT
Allow use schema in table_name option when configure postgresql transport. There was a problem with procedure name in getTriggerSql function in Symfony\Component\Messenger\Bridge\Doctrine\Transport\PostgreSqlConnection.
Commits
-------
64e7c9b [Messenger] Fix function name in TriggerSql on postgresql bridge to support table name with schema
Description
I am trying to configure messenger dsn as doctrine and i am using Postgres database.
I want to set the option
table_name
and specify the schema like the example belowI have the error bellow when trying to
doctrine:schema:update
SQLSTATE[3F000]: Invalid schema name: 7 ERROR: schema "notify_property_management" does not exist
Because the framework here tries to create to create a function in the DB and the sprintf consider that the option
table_name
has no schema.I would suggest :
schema_name
table_name
support a schema nameExample
The text was updated successfully, but these errors were encountered: