Module: PG

Defined in:
lib/pglite/pg.rb

Overview

Define minumum PG interface

Defined Under Namespace

Classes: Connection, ConnectionBad, Error, FeatureNotSupported, SimpleDecoder

Constant Summary collapse

PQTRANS_IDLE =

(connection idle)

0
PQTRANS_ACTIVE =

(command in progress)

1
PQTRANS_INTRANS =

(idle, within transaction block)

2
PQTRANS_INERROR =

(idle, within failed transaction)

3
PQTRANS_UNKNOWN =

(cannot determine status)

4
CONNECTION_OK =
0
PGRES_COMMAND_OK =

(successful completion of a command returning no data)

1
PGRES_TUPLES_OK =

(successful completion of a command returning data)

2
PGRES_FATAL_ERROR =

(a fatal error occurred)

7