You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#!ruby
conn.type_map_for_results = PG::BasicTypeMapForResults.new conn
# ... this works for result value mapping:
conn.exec("select 1, now(), '{2,3}'::int[]").values
# => [[1, 2014-09-21 20:51:56 +0200, [2, 3]]]
Original comment by Lars Kanis (Bitbucket: larskanis, GitHub: larskanis).
This is a bug. The current timestamp decoder does not handle :15, :30 or :45 timezones (I wasn't able to test the gem in Afghanistan so far). I'll fix this.
Original report by Victor (Bitbucket: victor987, GitHub: victor987).
According to the example given in https://bitbucket.org/ged/ruby-pg/raw/default/README.rdoc
Does not work for me:
The timestamp is still a String
With PostgreSQL 9.4
The text was updated successfully, but these errors were encountered: