IPostgreSQL

OOP styled libpq wrapper to automatically handle library loading/unloading and to provide mockable layer for unittests.

Members

Functions

finalize
void finalize()

Should be called to free libpq resources. The method unloads library from application memory.

initialize
void initialize()

Should be called in class constructor. The method loads library in memory.

logger
shared(ILogger) logger()

Getting local logger

ping
PGPing ping(string conninfo)

Prototype: PQping

startConnect
shared(IPGconn) startConnect(string conninfo)

Prototype: PQconnectStart

Meta