talira

Asynchronous PostgreSQL client for Erlang

open sourceBSD-3-Clausefree

epgsql is a PostgreSQL client for Erlang that makes full use of the PostgreSQL protocol's request pipelining, so several queries don't each wait for a network round trip. It supports simple, extended and prepared queries, batch execution, query cancellation, server notifications and transaction helpers. It's the community fork of an asynchronous fork of wg/epgsql, and epgsql/pgapp adds a connection pool and reconnection on top.

Problems it solves

  • connect to PostgreSQL from Erlang
  • run many Postgres queries quickly from an Erlang app
  • listen for Postgres notifications in Erlang

Features

  • request pipelining for fewer round trips
  • simple, extended and prepared queries
  • batch execution and query cancellation
  • server notifications (LISTEN/NOTIFY)
  • transaction helpers

Alternatives

The same job

These do what epgsql does.

  1. Postgrex PostgreSQL driver for Elixir

Compare epgsql with the top 3