Top level module for holding all PostgreSQL-related modules and classes for Sequel
. All adapters that connect to PostgreSQL support the following options:
:client_min_messages |
Change the minimum level of messages that PostgreSQL will send to the the client. The PostgreSQL default is NOTICE, the |
:force_standard_strings |
Set to false to not force the use of standard strings. Overridable on a per instance basis via the :force_standard_strings option. |
:search_path |
Set the schema search_path for this Database’s connections. Allows to to set which schemas do not need explicit qualification, and in which order to check the schemas when an unqualified object is referenced. |
Classes and Modules
- Sequel::Postgres::DatabaseMethods
- Sequel::Postgres::DatasetMethods
- Sequel::Postgres::MockAdapterDatabaseMethods
- Sequel::Postgres::Adapter
- Sequel::Postgres::AlterTableGenerator
- Sequel::Postgres::CreatePartitionOfTableGenerator
- Sequel::Postgres::CreateTableGenerator
- Sequel::Postgres::Database
- Sequel::Postgres::Dataset
- Sequel::Postgres::ExclusionConstraintViolation
- Sequel::Postgres::IntegerOutsideBigintRange
Constants
CONVERSION_PROCS | = | {} | ||
MINUS_INFINITY | = | -1.0/0.0 | ||
NAN | = | 0.0/0.0 | ||
PGError | = | PG::Error if defined?(PG::Error) |
:nocov: |
|
PG_QUERY_TYPE_MAP | = | PG::TypeMapByClass.new | ||
PGconn | = | PG::Connection if defined?(PG::Connection) | ||
PGresult | = | PG::Result if defined?(PG::Result) | ||
PLUS_INFINITY | = | 1.0/0.0 | ||
TYPE_TRANSLATOR_DATE | = | date.freeze | ||
USES_PG | = | true |
Public Class methods
# File lib/sequel/adapters/shared/postgres.rb 102 def self.mock_adapter_setup(db) 103 db.instance_exec do 104 @server_version = 150000 105 initialize_postgres_adapter 106 extend(MockAdapterDatabaseMethods) 107 end 108 end
Whether the given sequel_pg version integer is supported.
# File lib/sequel/adapters/postgres.rb 47 def self.sequel_pg_version_supported?(version) 48 version >= 10617 49 end