Skip to content

Boris-Barboris/dpeq

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DPEQ - native PSQL extended protocol implementation for D programming language

Build Status

dpeq is a library that implements a subset of PostgreSQL wire protocol and focuses on extended query (EQ) protocol subset. dpeq defines classes to hold the required state and utility functions, that send and receive protocol messages in sensible manner.

dpeq is aimed on library developers that write database middleware for Postgres or CockroachDB.

Here is a list of good links to get yourself familiar with EQ protocol, wich may help you to understand the nature of the messages being passed:
https://www.pgcon.org/2014/schedule/attachments/330_postgres-for-the-wire.pdf
https://www.postgresql.org/docs/9.5/static/protocol.html
https://www.postgresql.org/docs/9.5/static/protocol-flow.html
https://www.postgresql.org/docs/9.5/static/protocol-message-formats.html

Many thanks to authors of https://github.com/pszturmaj/ddb and https://github.com/teamhackback/hb-ddb, wich gave this library inspiration.

To see examples, see ./tests/source/main.d

About

PSQL extended query protocol client for D

Resources

Stars

Watchers

Forks

Packages

No packages published