mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Mention supported PG version in the error message.
This commit is contained in:
parent
522099a13f
commit
7ec5f9f8dd
1 changed files with 1 additions and 1 deletions
|
@ -215,7 +215,7 @@ module ActiveRecord
|
|||
self.class.type_cast_config_to_integer(config.fetch(:statement_limit) { 1000 })
|
||||
|
||||
if postgresql_version < 90100
|
||||
raise "Your version of PostgreSQL (#{postgresql_version}) is too old, please upgrade!"
|
||||
raise "Your version of PostgreSQL (#{postgresql_version}) is too old. Active Record supports PostgreSQL >= 9.1."
|
||||
end
|
||||
|
||||
add_pg_decoders
|
||||
|
|
Loading…
Reference in a new issue