[DBAL-330] [GH-191] Akiban Driver Implementation that Uses PDO Created: 27/Aug/12 Updated: 06/Jan/14 Resolved: 06/Jan/14
|Reporter:||Benjamin Eberlei||Assignee:||Benjamin Eberlei|
This issue is created automatically through a Github pull request on behalf of posulliv:
Based on discussion in pull request 188 with @stof, I decided to modify the implementation for Akiban to use the PostgreSQL PDO driver instead of the native PHP client for PostgreSQL.
One piece of functionality that does not work with current version of Akiban is lastInsertId. This is because the implementation of CURRVAL for Akiban requires both schema name and sequence name be provided whereas PostgreSQL only requires sequence name ([relevant source](https://github.com/php/php-src/blob/master/ext/pdo_pgsql/pgsql_driver.c#L360)). I will attempt to get CURRVAL in Akiban implemented to have the same parameters as PostgreSQL.
This causes a few tests to fail in the test suite right now. Is there a way to mark a test as expected to fail for a specific database driver with the test suite? What I did in this pull request is skip any tests that use lastInsertId when testing against the Akiban platform. I'll update these tests to not be skipped when CURRVAL works as expected. Let me know if there is a better way to do that.
|Comment by Doctrine Bot [ 20/Dec/13 ]|
A related Github Pull-Request [GH-191] was closed:
|Comment by Steve Müller [ 06/Jan/14 ]|
This has to be provided as a separate package as we cannot provide support for it. (see PR discussion)