Skip to content

Commit

Permalink
Oops, already had a postgresql_version method!
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremy committed Jun 23, 2008
1 parent 3532eaf commit a210f50
Showing 1 changed file with 1 addition and 6 deletions.
Expand Up @@ -324,12 +324,7 @@ def supports_standard_conforming_strings?
end

def supports_insert_with_returning?
unless defined? @supports_insert_with_returning
@supports_insert_with_returning =
@connection.respond_to?(:server_version) &&
@connection.server_version >= 80200
end
@supports_insert_with_returning
postgresql_version >= 80200
end

# Returns the configured supported identifier length supported by PostgreSQL,
Expand Down

0 comments on commit a210f50

Please sign in to comment.