postgresql-replicant-0.2.0.1: PostgreSQL logical streaming replication library
Safe HaskellNone
LanguageHaskell2010

Database.PostgreSQL.Replicant.Connection

Synopsis

Types

Constructor

connect :: PgSettings -> IO ReplicantConnection Source #

Connect to the PostgreSQL server in replication mode

unsafeCreateConnection :: Connection -> ReplicantConnection Source #

Unsafe function for wrapping regular libpq Connection. This is unsafe because the Connection needs to be set up to send replication commands. Improperly constructed connections can lead to runtime exceptions.