JRuby

jdbc_postgre.rb needs microsecond support

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None
  • Environment:
    Darwin woot.local 9.4.0 Darwin Kernel Version 9.4.0: Mon Jun 9 19:30:53 PDT 2008; root:xnu-1228.5.20~1/RELEASE_I386 i386
  • Patch Submitted:
    Yes
  • Number of attachments :
    1

Description

They quoted_date method doesn't support microseconds at the moment, but it should.
The approach here is that used in: /rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb

Found on broken tests dealing with sorts based on timestamps.

Activity

Hide
Thomas E Enebo added a comment -

Patch applied in commit 77991ff. Thanks!

Show
Thomas E Enebo added a comment - Patch applied in commit 77991ff. Thanks!

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: