Method: Redmine::Database.postgresql_version

Defined in:
lib/redmine/database.rb

.postgresql_versionObject

Returns the PostgreSQL version or nil if another DBMS is used



35
36
37
# File 'lib/redmine/database.rb', line 35

def postgresql_version
  postgresql? ? ActiveRecord::Base.connection.send(:postgresql_version) : nil
end