-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Fix introspection on PDO_pgsql with PDO::STRINGIFY_FETCHES enabled
#7052
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
Conversation
|
@derrabus would love your review on this one as well ;) The postgres job already uncovered similar issues like the MySQL one we ran into For the other tests I personally think it is ok to just skip them for that specific job as it seems they cover some edge cases anyway and only run for specific drivers & configs |
derrabus
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you again! So the Postgres driver will also fail if we have that option enabled, am I right? We should treat this PR as a bugfix then.
@derrabus Yes exactly, IMHO this should be treated as a bugfix |
PDO::STRINGIFY_FETCHES enabled
* 4.4.x: Document the JSON_OBJECT type (doctrine#7054) [RFC] Introduce Types::JSON_OBJECT (doctrine#7053) feat: add more pdo jobs with stringify fetches (doctrine#7052) Fix case sensitivity in SQLite column types (doctrine#7050) Fix length type in `MySQLSchemaManager` with `ATTR_STRINGIFY_FETCHES` enabled (doctrine#7028) Fix Symfony 8 compatibility issues (doctrine#7009) Quote MySQL constraint names for foreign keys
* 4.4.x: Document the JSON_OBJECT type (doctrine#7054) [RFC] Introduce Types::JSON_OBJECT (doctrine#7053) feat: add more pdo jobs with stringify fetches (doctrine#7052) Fix case sensitivity in SQLite column types (doctrine#7050) Fix length type in `MySQLSchemaManager` with `ATTR_STRINGIFY_FETCHES` enabled (doctrine#7028) Fix Symfony 8 compatibility issues (doctrine#7009) Quote MySQL constraint names for foreign keys
Summary
Add more unit test jobs that use the PDO::STRINGIFY_FETCHES option, as discussed in this PR: #7028 (review)
I didn't add a job for
pdo_ociandpdo_sqlsrvas for those drivers the result inQueryBuilderTestwas already stringified, therefore I assume those drivers always stringify the fetches, therefore a separate job is not needed