aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/notifications_test.rb
diff options
context:
space:
mode:
authorDerek Prior <derekprior@gmail.com>2015-12-30 08:49:14 -0500
committerDerek Prior <derekprior@gmail.com>2015-12-30 08:49:14 -0500
commit8ad1eeafc2d4b0d96f0218b5272ea734564bd875 (patch)
tree6d58478c0188d71502f7cfdfec8a26fbf4f52a95 /activesupport/test/notifications_test.rb
parent2ad6deb5344abd77515f1c04edbd586a5538f705 (diff)
downloadrails-8ad1eeafc2d4b0d96f0218b5272ea734564bd875.tar.gz
rails-8ad1eeafc2d4b0d96f0218b5272ea734564bd875.tar.bz2
rails-8ad1eeafc2d4b0d96f0218b5272ea734564bd875.zip
Make `postgresql_version` public
This is useful to libraries that want to feature gate based on the version of PostgreSQL the user is connected to. For instance, I want to know if the user is connected to a version of Postgres that supports concurrent materialized view refreshes. I could add that as a method on the adapter as a PR, but rails has no need for this itself. Rails is already using the postgresql_version for its own feature gating and this makes that possible for other libraries.
Diffstat (limited to 'activesupport/test/notifications_test.rb')
0 files changed, 0 insertions, 0 deletions