Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

[Patch] Fix AR detection of postgres interval types with precision

#2649

AR fails to detect interval types with precision, which look like 'interval(0)'. These types become improperly handled as integers. I modified the type regex to catch the possible trailing '(n)' syntax returned by postgres. Rather than include a separate test, I simply modified the postgres schema to use interval with precision, and all tests pass.

Reported by alan · May 15th, 2009 @ 03:34 AM

State: stale
Milestone: 3.x
Assigned to: nobody
Importance: none

Activity

  1. alan
    alan

    This will help allow out-of-the-box functionality with databases edited or created by certain database manager suites which create intervals with precision, by default (e.g. EMS postgres manager).

    May 15th, 2009 @ 08:24 PM

  2. Jeremy Kemper
    Jeremy Kemper
    • Milestone changed from 2.x to 3.x

    May 4th, 2010 @ 06:48 PM

  3. Rohit Arondekar
    Rohit Arondekar
    • State changed from new to stale
    • Importance changed from to

    Marking ticket as stale. If this is still an issue please leave a comment with suggested changes, creating a patch with tests, rebasing an existing patch or just confirming the issue on a latest release or master/branches.

    October 9th, 2010 @ 04:16 AM