diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/database.rb | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/gitlab/database.rb b/lib/gitlab/database.rb index e2637ad602a..b6ca777e029 100644 --- a/lib/gitlab/database.rb +++ b/lib/gitlab/database.rb @@ -76,7 +76,7 @@ module Gitlab postgresql? && version.to_f >= 9.4 end - def self.postgresql_minimum_supported_version? + def self.pg_stat_wal_receiver_supported? postgresql? && version.to_f >= 9.6 end @@ -98,10 +98,6 @@ module Gitlab Gitlab::Database.postgresql_9_or_less? ? 'pg_last_xlog_replay_location' : 'pg_last_wal_replay_lsn' end - def self.pg_last_xact_replay_timestamp - 'pg_last_xact_replay_timestamp' - end - def self.nulls_last_order(field, direction = 'ASC') order = "#{field} #{direction}" |