Skip to main content

Module postgres

Module postgres 

Source
Expand description

Source implementation for Postgres database, including the TLS support (client only).

Structs§

Bit
A bit string.
HalfVector
A half vector.
PostgresBinarySourcePartitionParser
Parser for COPY ... TO STDOUT (FORMAT binary) output.
PostgresCSVSourceParser
Parser for COPY ... TO STDOUT (FORMAT csv) output.
PostgresRawSourceParser
Parser for rows fetched through a cursor.
PostgresSimpleSourceParser
Parser for rows returned by the simple query protocol.
PostgresSource
Source that reads from Postgres. P selects the protocol, C the TLS connector.
PostgresSourcePartition
One partition of a PostgresSource.
PostgresTypePairs
A Postgres column type paired with the ConnectorX type chosen for it; converts back to the Type to request on the wire.
SparseVector
A sparse vector.
Vector
A vector.

Enums§

BinaryProtocol
Protocol - Binary based bulk load
CSVProtocol
Protocol - CSV based bulk load
CursorProtocol
Protocol - use Cursor
IpInet
Inet type representing either an IPv4 or an IPv6 host within a network
PostgresSourceError
Errors raised by the Postgres source.
PostgresTypeSystem
Column types of the Postgres source. The bool is true when the column is nullable.
SimpleProtocol
Protocol - use Simple Query

Functions§

rewrite_tls_args
Split the TLS options (sslmode, sslcert, sslkey, sslrootcert) off the URL and build the matching TLS connector, if any.