pgator-backend 0.2.3

Lightweight wrapper for PostgreSQL with binary protocol conversion to BSON and asynchronous connection pool

To use this package, run the following command in your project's root directory:

Manual usage
Put the following dependency into your project's dependences section:

Build Status


This package is part of pgator json rpc server that could be used as dedicated libary.


  • Lightweight bindings for PostgreSQL
  • Asynchronous connection pool
  • Reversed libpq binary protocol for BSON conversion

Supported types

The bson converter can handle following types received from PostgreSQL:

  • POD types (Char, Bool, Int8, Int4, Int2, Float8, Float4, Void, Money)
  • ByteArrays
  • Strings (Text, FixedString, VariableString)
  • Oid, Tid, Xid, Cid
  • Json, Xml (returned as a string)
  • RegProc
  • Point, Path, Polygone, LineSegment, Circle
  • MacAddress, InetAddress
  • Numeric
  • Date, AbsTime, RelTime, Time, TimeWithZone, TimeInterval, Interval, TimeStamp, TimeStampWithZone
  • Arrays and Array of ByteArray


Add to dub.json file:

"dependencies": {
  "pgator-backend": ">=0.1.2"

Usage examples:

vibe-d, dlogg, derelict-pq
0.2.5 2015-Sep-16
0.2.4 2015-Mar-17
0.2.3 2015-Feb-26
0.2.2 2015-Feb-26
0.2.1 2015-Jan-18
Show all 19 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 0 downloads this month

  • 1055 downloads total

Short URL: