This project is archived and is in readonly mode.
PostgreSQL adapter and tests incorrectly detect 'postgres' driver
Reported by Hongli Lai | January 13th, 2009 @ 03:06 PM
The 'pg' driver supports inspecting the transaction status, but the old 'postgres' driver does not. ActiveRecord's code for detecting whether we're using 'pg' or 'postgres' is broken, causing unit test failures. This patch fixes the problem.
Comments and changes to this ticket
-
Pratik January 13th, 2009 @ 03:07 PM
- Milestone cleared.
- Assigned user set to Jeremy Kemper
-
CancelProfileIsBroken January 13th, 2009 @ 03:34 PM
Not quite ready yet...patch makes test pass under postgres, but fail under pg.
-
CancelProfileIsBroken January 13th, 2009 @ 03:54 PM
- Green under both pg and postgres, with PostgreSQL 8.3.5.
-
Repository January 13th, 2009 @ 11:59 PM
- State changed from new to committed
(from [9bcf01b23c25e640da7908ac8b1b49fbf7d2e51a]) Fix PostgreSQL unit test failures that only occur when using the old 'postgres' driver.
[#1748 state:committed]
Signed-off-by: Jeremy Kemper jeremy@bitsweat.net http://github.com/rails/rails/co...
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>
People watching this ticket
Attachments
Tags
Referenced by
- 4519 Fix AR tests for pg on master #1748 - seems related to first problem and can probably b...
- 4519 Fix AR tests for pg on master #1748 appears unrelated - typo?
- 1748 PostgreSQL adapter and tests incorrectly detect 'postgres' driver [#1748 state:committed]