-
-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PostgreSql incompatibility for UuidBinaryOrderedTimeType #3
Comments
Seems that binary ( Workin' on it |
Exactly. The merged a PR on that and reverted because is platform dependant. (you can find a closed PR on ramsey/uuid-doctrine) |
Should be fixed in master (ref: 70779b4) |
Ok, thank you. I'll let you know if it solves my issue |
@alekitto seems to work fine! Thank you 😄 |
Hey there,
we're facing a problem while inserting messages in our table.
As stated here ramsey/uuid#179 and here ramsey/uuid-doctrine#47 (comment), using
UuidBinaryOrderedTimeType
andUuidBinaryType
are intended primarly for MySQL/MariaDB DBMS. Instead, for PostgreSql is intended theUuidType
.In fact, the insert results in the following error:
ERROR: invalid byte sequence for encoding "UTF8": 0xe9 0x72 0x42
I have time to make a PR, but before a little discussion:
Explicitly checking the Database platform at this line seems not so elegant.
\Kcs\MessengerExtra\Transport\Dbal\DbalSender::send#line79
Any advice?
PS:
To reproduce this is really simple: just try to persist a new message with Symfony + Doctrine (and obviously Messenger with this bundle)
The text was updated successfully, but these errors were encountered: