Skip to content
Browse files

Remove reference to fformat to restore support for postgres gem.

  • Loading branch information...
1 parent ef9b6b5 commit 9e2bb2caff2b6fd4712ca3db258b68a588a69e9a @NZKoz NZKoz committed Oct 26, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb
View
2 activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb
@@ -469,7 +469,7 @@ def result_as_array(res) #:nodoc:
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 = []

0 comments on commit 9e2bb2c

Please sign in to comment.
Something went wrong with that request. Please try again.