Module epgsql_cmd_sync

Synchronize client and server states for multi-command combinations.

Behaviours: epgsql_command.

Description

Synchronize client and server states for multi-command combinations

Should be executed if APIs start to return {error, sync_required}. See https://www.postgresql.org/docs/current/protocol-flow.html#PROTOCOL-FLOW-EXT-QUERY
  > Sync
  < ReadyForQuery

Data Types

response()

response() = ok | {error, epgsql:query_error()}

Function Index

execute/2
handle_message/4
init/1

Function Details

execute/2

execute(Sock, St) -> any()

handle_message/4

handle_message(X1, Error, Sock, State) -> any()

init/1

init(X1) -> any()


Generated by EDoc