v2.0.3 -
Show latest stable
-
0 notes
- Superclass:
ActiveRecord::ConnectionAdapters::AbstractAdapter
- 1.0.0 (0)
- 1.1.6 (0)
- 1.2.6 (8)
- 2.0.3 (0)
- 2.1.0 (1)
- 2.2.1 (0)
- 2.3.8 (0)
- 3.0.0 (1)
- 3.0.9 (-2)
- 3.1.0 (-8)
- 3.2.1 (0)
- 3.2.8 (0)
- 3.2.13 (0)
- 4.0.2 (38)
- 4.1.8 (0)
- 4.2.1 (0)
- 4.2.7 (0)
- 4.2.9 (0)
- 5.0.0.1 (0)
- 5.1.7 (0)
- 5.2.3 (0)
- 6.0.0 (0)
- 6.1.3.1 (0)
- 6.1.7.7 (0)
- 7.0.0 (0)
- 7.1.3.2 (2)
- 7.1.3.4 (0)
- 7.2.3 (0)
- 8.0.0 (0)
- 8.1.1 (0)
- What's this?
The PostgreSQL adapter works both with the native C (http://ruby.scripting.ca/postgres/) and the pure Ruby (available both as gem and from http://rubyforge.org/frs/?group_id=234&release_id=1944) drivers.
Options:
- :host — Defaults to localhost
- :port — Defaults to 5432
- :username — Defaults to nothing
- :password — Defaults to nothing
- :database — The name of the database. No default, must be provided.
- :schema_search_path — An optional schema search path for the connection given as a string of comma-separated schema names. This is backward-compatible with the :schema_order option.
- :encoding — An optional client encoding that is used in a SET client_encoding TO <encoding> call on the connection.
- :min_messages — An optional client min messages that is used in a SET client_min_messages TO <min_messages> call on the connection.
- :allow_concurrency — If true, use async query methods so Ruby threads don’t deadlock; otherwise, use blocking query methods.

