Browse files

Merge pull request #10430 from larskanis/add_sslcompression_to_pg_ada…


Add parameter :sslcompression to PostgreSQL adapter.
  • Loading branch information...
2 parents a6a8415 + 950ef05 commit 6a5ab08d21c4284a05f5e34484b18a91d4e5c50c @rafaelfranca rafaelfranca committed May 2, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb
@@ -20,8 +20,8 @@ module ConnectionHandling # :nodoc:
VALID_CONN_PARAMS = [:host, :hostaddr, :port, :dbname, :user, :password, :connect_timeout,
:client_encoding, :options, :application_name, :fallback_application_name,
:keepalives, :keepalives_idle, :keepalives_interval, :keepalives_count,
- :tty, :sslmode, :requiressl, :sslcert, :sslkey, :sslrootcert, :sslcrl,
- :requirepeer, :krbsrvname, :gsslib, :service]
+ :tty, :sslmode, :requiressl, :sslcompression, :sslcert, :sslkey,
+ :sslrootcert, :sslcrl, :requirepeer, :krbsrvname, :gsslib, :service]
# Establishes a connection to the database that's used by all Active Record objects
def postgresql_connection(config)

0 comments on commit 6a5ab08

Please sign in to comment.