diff options
author | Michael Koziarski <michael@koziarski.com> | 2008-10-26 20:04:09 +0100 |
---|---|---|
committer | Michael Koziarski <michael@koziarski.com> | 2008-10-26 20:04:09 +0100 |
commit | 9e2bb2caff2b6fd4712ca3db258b68a588a69e9a (patch) | |
tree | 5806e7a114dd76a105d91a97088f542d4009cbcd | |
parent | ef9b6b5cba08f13dcbf7095226b78aaf22df13f7 (diff) | |
download | rails-9e2bb2caff2b6fd4712ca3db258b68a588a69e9a.tar.gz rails-9e2bb2caff2b6fd4712ca3db258b68a588a69e9a.tar.bz2 rails-9e2bb2caff2b6fd4712ca3db258b68a588a69e9a.zip |
Remove reference to fformat to restore support for postgres gem.
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb b/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb index ccde8a63a9..60ec01b95e 100644 --- a/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb +++ b/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb @@ -469,7 +469,7 @@ module ActiveRecord unescape_col = [] for j in 0...res.nfields do # unescape string passed BYTEA field (OID == 17) - unescape_col << ( res.fformat(j)==0 and res.ftype(j)==17 ) + unescape_col << ( res.ftype(j)==17 ) end ary = [] |