From aafee233fb3b4211ee0bfb1fca776c159bd1067e Mon Sep 17 00:00:00 2001 From: Sean Griffin Date: Tue, 10 Feb 2015 15:58:39 -0700 Subject: Remove most PG specific type subclasses The latest version of the PG gem can actually convert the primitives for us in C code, which gives a pretty substantial speed up. A few cases were only there to add the `infinity` method, which I just put on the range type (which is the only place it was used). Floats also needed to parse `Infinity` and `NaN`, but it felt reasonable enough to put that on the generic form. --- Gemfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Gemfile') diff --git a/Gemfile b/Gemfile index 4299ab337d..08aa842d2f 100644 --- a/Gemfile +++ b/Gemfile @@ -85,7 +85,7 @@ platforms :ruby do gem 'sqlite3', '~> 1.3.6' group :db do - gem 'pg', '>= 0.15.0' + gem 'pg', '>= 0.18.0' gem 'mysql', '>= 2.9.0' gem 'mysql2', '>= 0.3.13' end -- cgit v1.2.3