ddbc.drivers.pgsqlddbc

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

enforceHelper
alias enforceHelper = enforceEx
Undocumented in source.
enforceHelper
alias enforceHelper = enforce
Undocumented in source.

Classes

PGSQLConnection
class PGSQLConnection
Undocumented in source.
PGSQLDriver
class PGSQLDriver
Undocumented in source.
PGSQLPreparedStatement
class PGSQLPreparedStatement
Undocumented in source.
PGSQLResultSet
class PGSQLResultSet
Undocumented in source.
PGSQLStatement
class PGSQLStatement
Undocumented in source.

Functions

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.
createUnitTestPGSQLDataSource
DataSource createUnitTestPGSQLDataSource()

use this data source for tests

ubytesToBytea
string ubytesToBytea(ubyte[] bytes)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

ABSTIMEOID
int ABSTIMEOID;
Undocumented in source.
ACLITEMOID
int ACLITEMOID;
Undocumented in source.
ANYARRAYOID
int ANYARRAYOID;
Undocumented in source.
ANYELEMENTOID
int ANYELEMENTOID;
Undocumented in source.
ANYENUMOID
int ANYENUMOID;
Undocumented in source.
ANYNONARRAYOID
int ANYNONARRAYOID;
Undocumented in source.
ANYOID
int ANYOID;
Undocumented in source.
ANYRANGEOID
int ANYRANGEOID;
Undocumented in source.
BITOID
int BITOID;
Undocumented in source.
BOOLOID
int BOOLOID;
Undocumented in source.
BOXOID
int BOXOID;
Undocumented in source.
BPCHAROID
int BPCHAROID;
Undocumented in source.
BYTEAOID
int BYTEAOID;
Undocumented in source.
CASHOID
int CASHOID;
Undocumented in source.
CHAROID
int CHAROID;
Undocumented in source.
CIDOID
int CIDOID;
Undocumented in source.
CIDROID
int CIDROID;
Undocumented in source.
CIRCLEOID
int CIRCLEOID;
Undocumented in source.
CSTRINGARRAYOID
int CSTRINGARRAYOID;
Undocumented in source.
CSTRINGOID
int CSTRINGOID;
Undocumented in source.
DATEOID
int DATEOID;
Undocumented in source.
EVTTRIGGEROID
int EVTTRIGGEROID;
Undocumented in source.
FDW_HANDLEROID
int FDW_HANDLEROID;
Undocumented in source.
FLOAT4ARRAYOID
int FLOAT4ARRAYOID;
Undocumented in source.
FLOAT4OID
int FLOAT4OID;
Undocumented in source.
FLOAT8OID
int FLOAT8OID;
Undocumented in source.
GTSVECTOROID
int GTSVECTOROID;
Undocumented in source.
INETOID
int INETOID;
Undocumented in source.
INT2OID
int INT2OID;
Undocumented in source.
INT2VECTOROID
int INT2VECTOROID;
Undocumented in source.
INT4ARRAYOID
int INT4ARRAYOID;
Undocumented in source.
INT4OID
int INT4OID;
Undocumented in source.
INT4RANGEOID
int INT4RANGEOID;
Undocumented in source.
INT8OID
int INT8OID;
Undocumented in source.
INTERNALOID
int INTERNALOID;
Undocumented in source.
INTERVALOID
int INTERVALOID;
Undocumented in source.
JSONBOID
int JSONBOID;
Undocumented in source.
JSONOID
int JSONOID;
Undocumented in source.
LANGUAGE_HANDLEROID
int LANGUAGE_HANDLEROID;
Undocumented in source.
LINEOID
int LINEOID;
Undocumented in source.
LSEGOID
int LSEGOID;
Undocumented in source.
MACADDROID
int MACADDROID;
Undocumented in source.
NAMEOID
int NAMEOID;
Undocumented in source.
NUMERICOID
int NUMERICOID;
Undocumented in source.
OIDOID
int OIDOID;
Undocumented in source.
OIDVECTOROID
int OIDVECTOROID;
Undocumented in source.
OPAQUEOID
int OPAQUEOID;
Undocumented in source.
PATHOID
int PATHOID;
Undocumented in source.
PGNODETREEOID
int PGNODETREEOID;
Undocumented in source.
PGSQL_TESTS_ENABLED
bool PGSQL_TESTS_ENABLED;

change to false to disable tests on real PostgreSQL server

PGSQL_TESTS_ENABLED
bool PGSQL_TESTS_ENABLED;
Undocumented in source.
PGSQL_UNITTEST_DB
string PGSQL_UNITTEST_DB;
Undocumented in source.
PGSQL_UNITTEST_HOST
string PGSQL_UNITTEST_HOST;

change parameters if necessary

PGSQL_UNITTEST_PASSWORD
string PGSQL_UNITTEST_PASSWORD;
Undocumented in source.
PGSQL_UNITTEST_PORT
int PGSQL_UNITTEST_PORT;
Undocumented in source.
PGSQL_UNITTEST_USER
string PGSQL_UNITTEST_USER;
Undocumented in source.
POINTOID
int POINTOID;
Undocumented in source.
POLYGONOID
int POLYGONOID;
Undocumented in source.
RECORDARRAYOID
int RECORDARRAYOID;
Undocumented in source.
RECORDOID
int RECORDOID;
Undocumented in source.
REFCURSOROID
int REFCURSOROID;
Undocumented in source.
REGCLASSOID
int REGCLASSOID;
Undocumented in source.
REGCONFIGOID
int REGCONFIGOID;
Undocumented in source.
REGDICTIONARYOID
int REGDICTIONARYOID;
Undocumented in source.
REGOPERATOROID
int REGOPERATOROID;
Undocumented in source.
REGOPEROID
int REGOPEROID;
Undocumented in source.
REGPROCEDUREOID
int REGPROCEDUREOID;
Undocumented in source.
REGPROCOID
int REGPROCOID;
Undocumented in source.
REGTYPEARRAYOID
int REGTYPEARRAYOID;
Undocumented in source.
REGTYPEOID
int REGTYPEOID;
Undocumented in source.
RELTIMEOID
int RELTIMEOID;
Undocumented in source.
TEXTARRAYOID
int TEXTARRAYOID;
Undocumented in source.
TEXTOID
int TEXTOID;
Undocumented in source.
TIDOID
int TIDOID;
Undocumented in source.
TIMEOID
int TIMEOID;
Undocumented in source.
TIMESTAMPOID
int TIMESTAMPOID;
Undocumented in source.
TIMESTAMPTZOID
int TIMESTAMPTZOID;
Undocumented in source.
TIMETZOID
int TIMETZOID;
Undocumented in source.
TINTERVALOID
int TINTERVALOID;
Undocumented in source.
TRIGGEROID
int TRIGGEROID;
Undocumented in source.
TSQUERYOID
int TSQUERYOID;
Undocumented in source.
TSVECTOROID
int TSVECTOROID;
Undocumented in source.
UNKNOWNOID
int UNKNOWNOID;
Undocumented in source.
UUIDOID
int UUIDOID;
Undocumented in source.
VARBITOID
int VARBITOID;
Undocumented in source.
VARCHAROID
int VARCHAROID;
Undocumented in source.
VOIDOID
int VOIDOID;
Undocumented in source.
XIDOID
int XIDOID;
Undocumented in source.
XMLOID
int XMLOID;
Undocumented in source.
preparedStatementIndex
ulong preparedStatementIndex;
Undocumented in source.

Detailed Description

You can find usage examples in unittest{} sections.

Meta

Authors

Vadim Lopatin