ddbc.drivers.pgsql

DDBC - D DataBase Connector - abstraction layer for RDBMS access, with interface similar to JDBC.

Source file ddbc/drivers/pgsqlddbc.d.

DDBC library attempts to provide implementation independent interface to different databases.

Set of supported RDBMSs can be extended by writing Drivers for particular DBs. Currently it only includes MySQL driver.

JDBC documentation can be found here: http://docs.oracle.com/javase/1.5.0/docs/api/java/sql/package-summary.html

This module contains implementation of PostgreSQL Driver

More...

Members

Aliases

Oid
alias Oid = ulong
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Functions

PQclear
void PQclear(PGresult* )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
PQcmdTuples
char* PQcmdTuples(PGresult* res)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
PQconnectdb
PGconn* PQconnectdb(char* )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
PQconnectdbParams
PGconn* PQconnectdbParams(char** keywords, char** values, int expand_dbname)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
PQerrorMessage
const(char*) PQerrorMessage(PGconn* )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
PQescapeString
size_t PQescapeString(char* to, char* from, size_t length)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
PQexec
PGresult* PQexec(PGconn* , char* )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
PQexecParams
PGresult* PQexecParams(PGconn* conn, char* command, int nParams, Oid* paramTypes, char** paramValues, int* paramLengths, int* paramFormats, int resultFormat)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
PQexecPrepared
PGresult* PQexecPrepared(PGconn* conn, char* stmtName, int nParams, char** paramValues, int* paramLengths, int* paramFormats, int resultFormat)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
PQfformat
int PQfformat(PGresult* res, int column_number)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
PQfinish
void PQfinish(PGconn* )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
PQfname
const(char*) PQfname(PGresult* , int )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
PQftable
Oid PQftable(PGresult* res, int column_number)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
PQftype
Oid PQftype(PGresult* res, int column_number)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
PQgetisnull
int PQgetisnull(PGresult* res, int row_number, int column_number)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
PQgetlength
int PQgetlength(PGresult* res, int row_number, int column_number)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
PQgetvalue
const(char*) PQgetvalue(PGresult* , int row, int column)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
PQnfields
int PQnfields(PGresult* )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
PQntuples
int PQntuples(PGresult* )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
PQoidValue
Oid PQoidValue(PGresult* res)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
PQprepare
PGresult* PQprepare(PGconn* conn, char* stmtName, char* query, int nParams, Oid* paramTypes)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
PQresultErrorMessage
char* PQresultErrorMessage(PGresult* res)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
PQresultStatus
int PQresultStatus(PGresult* )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
PQstatus
int PQstatus(PGconn* )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
byteaToBytes
byte[] byteaToBytes(string s)
Undocumented in source. Be warned that the author may not have intended to support it.
byteaToUbytes
ubyte[] byteaToUbytes(string s)
Undocumented in source. Be warned that the author may not have intended to support it.
bytesToBytea
string bytesToBytea(byte[] bytes)
Undocumented in source. Be warned that the author may not have intended to support it.
ubytesToBytea
string ubytesToBytea(ubyte[] bytes)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

PGconn
struct PGconn
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
PGresult
struct PGresult
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Variables

ABSTIMEOID
int ABSTIMEOID;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
ACLITEMOID
int ACLITEMOID;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
ANYARRAYOID
int ANYARRAYOID;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
ANYELEMENTOID
int ANYELEMENTOID;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
ANYENUMOID
int ANYENUMOID;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
ANYNONARRAYOID
int ANYNONARRAYOID;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
ANYOID
int ANYOID;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
ANYRANGEOID
int ANYRANGEOID;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
BITOID
int BITOID;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
BOOLOID
int BOOLOID;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
BOXOID
int BOXOID;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
BPCHAROID
int BPCHAROID;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
BYTEAOID
int BYTEAOID;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
CASHOID
int CASHOID;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
CHAROID
int CHAROID;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
CIDOID
int CIDOID;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
CIDROID
int CIDROID;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
CIRCLEOID
int CIRCLEOID;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
CONNECTION_OK
enum int CONNECTION_OK;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
CSTRINGARRAYOID
int CSTRINGARRAYOID;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
CSTRINGOID
int CSTRINGOID;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
DATEOID
int DATEOID;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
EVTTRIGGEROID
int EVTTRIGGEROID;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
FDW_HANDLEROID
int FDW_HANDLEROID;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
FLOAT4ARRAYOID
int FLOAT4ARRAYOID;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
FLOAT4OID
int FLOAT4OID;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
FLOAT8OID
int FLOAT8OID;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
GTSVECTOROID
int GTSVECTOROID;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
INETOID
int INETOID;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
INT2OID
int INT2OID;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
INT2VECTOROID
int INT2VECTOROID;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
INT4ARRAYOID
int INT4ARRAYOID;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
INT4OID
int INT4OID;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
INT4RANGEOID
int INT4RANGEOID;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
INT8OID
int INT8OID;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
INTERNALOID
int INTERNALOID;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
INTERVALOID
int INTERVALOID;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
JSONOID
int JSONOID;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
LANGUAGE_HANDLEROID
int LANGUAGE_HANDLEROID;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
LINEOID
int LINEOID;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
LSEGOID
int LSEGOID;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
MACADDROID
int MACADDROID;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
NAMEOID
int NAMEOID;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
NUMERICOID
int NUMERICOID;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
OIDOID
int OIDOID;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
OIDVECTOROID
int OIDVECTOROID;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
OPAQUEOID
int OPAQUEOID;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
PATHOID
int PATHOID;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
PGNODETREEOID
int PGNODETREEOID;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
PGRES_BAD_RESPONSE
enum int PGRES_BAD_RESPONSE;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
PGRES_COMMAND_OK
enum int PGRES_COMMAND_OK;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
PGRES_COPY_BOTH
enum int PGRES_COPY_BOTH;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
PGRES_COPY_IN
enum int PGRES_COPY_IN;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
PGRES_COPY_OUT
enum int PGRES_COPY_OUT;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
PGRES_FATAL_ERROR
enum int PGRES_FATAL_ERROR;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
PGRES_NONFATAL_ERROR
enum int PGRES_NONFATAL_ERROR;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
PGRES_SINGLE_TUPLE
enum int PGRES_SINGLE_TUPLE;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
PGRES_TUPLES_OK
enum int PGRES_TUPLES_OK;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
PGSQL_TESTS_ENABLED
bool PGSQL_TESTS_ENABLED;
Undocumented in source.
POINTOID
int POINTOID;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
POLYGONOID
int POLYGONOID;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
RECORDARRAYOID
int RECORDARRAYOID;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
RECORDOID
int RECORDOID;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
REFCURSOROID
int REFCURSOROID;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
REGCLASSOID
int REGCLASSOID;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
REGCONFIGOID
int REGCONFIGOID;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
REGDICTIONARYOID
int REGDICTIONARYOID;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
REGOPERATOROID
int REGOPERATOROID;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
REGOPEROID
int REGOPEROID;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
REGPROCEDUREOID
int REGPROCEDUREOID;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
REGPROCOID
int REGPROCOID;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
REGTYPEARRAYOID
int REGTYPEARRAYOID;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
REGTYPEOID
int REGTYPEOID;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
RELTIMEOID
int RELTIMEOID;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
TEXTARRAYOID
int TEXTARRAYOID;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
TEXTOID
int TEXTOID;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
TIDOID
int TIDOID;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
TIMEOID
int TIMEOID;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
TIMESTAMPOID
int TIMESTAMPOID;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
TIMESTAMPTZOID
int TIMESTAMPTZOID;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
TIMETZOID
int TIMETZOID;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
TINTERVALOID
int TINTERVALOID;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
TRIGGEROID
int TRIGGEROID;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
TSQUERYOID
int TSQUERYOID;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
TSVECTOROID
int TSVECTOROID;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
TYPCATEGORY_ARRAY
int TYPCATEGORY_ARRAY;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
TYPCATEGORY_BITSTRING
int TYPCATEGORY_BITSTRING;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
TYPCATEGORY_BOOLEAN
int TYPCATEGORY_BOOLEAN;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
TYPCATEGORY_COMPOSITE
int TYPCATEGORY_COMPOSITE;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
TYPCATEGORY_DATETIME
int TYPCATEGORY_DATETIME;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
TYPCATEGORY_ENUM
int TYPCATEGORY_ENUM;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
TYPCATEGORY_GEOMETRIC
int TYPCATEGORY_GEOMETRIC;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
TYPCATEGORY_INVALID
int TYPCATEGORY_INVALID;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
TYPCATEGORY_NETWORK
int TYPCATEGORY_NETWORK;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
TYPCATEGORY_NUMERIC
int TYPCATEGORY_NUMERIC;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
TYPCATEGORY_PSEUDOTYPE
int TYPCATEGORY_PSEUDOTYPE;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
TYPCATEGORY_RANGE
int TYPCATEGORY_RANGE;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
TYPCATEGORY_STRING
int TYPCATEGORY_STRING;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
TYPCATEGORY_TIMESPAN
int TYPCATEGORY_TIMESPAN;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
TYPCATEGORY_UNKNOWN
int TYPCATEGORY_UNKNOWN;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
TYPCATEGORY_USER
int TYPCATEGORY_USER;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
TYPTYPE_BASE
int TYPTYPE_BASE;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
TYPTYPE_COMPOSITE
int TYPTYPE_COMPOSITE;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
TYPTYPE_DOMAIN
int TYPTYPE_DOMAIN;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
TYPTYPE_ENUM
int TYPTYPE_ENUM;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
TYPTYPE_PSEUDO
int TYPTYPE_PSEUDO;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
TYPTYPE_RANGE
int TYPTYPE_RANGE;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
UNKNOWNOID
int UNKNOWNOID;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
UUIDOID
int UUIDOID;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
VARBITOID
int VARBITOID;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
VARCHAROID
int VARCHAROID;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
VOIDOID
int VOIDOID;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
XIDOID
int XIDOID;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
XMLOID
int XMLOID;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Detailed Description

You can find usage examples in unittest{} sections.

Meta

Authors

Vadim Lopatin