Class PG::Connection
In: lib/pg/connection.rb
Parent: Object

The PG connection class.

Methods

Constants

CONNECT_ARGUMENT_ORDER = %w[host port options tty dbname user password]   The order the options are passed to the ::connect method.

Public Class methods

Parse the connection args into a connection-parameter string. See PG::Connection.new for valid arguments.

Quote the given value for use in a connection-parameter string.

[Validate]