Qt 4.8
|
#include "qsql_psql.h"
#include <qcoreapplication.h>
#include <qvariant.h>
#include <qdatetime.h>
#include <qregexp.h>
#include <qsqlerror.h>
#include <qsqlfield.h>
#include <qsqlindex.h>
#include <qsqlrecord.h>
#include <qsqlquery.h>
#include <qsocketnotifier.h>
#include <qstringlist.h>
#include <qmutex.h>
#include <libpq-fe.h>
#include <pg_config.h>
#include <stdlib.h>
#include <math.h>
Go to the source code of this file.
Classes | |
class | QPSQLDriverPrivate |
class | QPSQLResultPrivate |
Macros | |
#define | isinf(x) |
#define | isnan(x) |
#define | QABSTIMEOID 702 |
#define | QBOOLOID 16 |
#define | QBYTEAOID 17 |
#define | QCIDOID 29 |
#define | QDATEOID 1082 |
#define | QFLOAT4OID 700 |
#define | QFLOAT8OID 701 |
#define | QINT2OID 21 |
#define | QINT4OID 23 |
#define | QINT8OID 20 |
#define | QNUMERICOID 1700 |
#define | QOIDOID 2278 |
#define | QREGPROCOID 24 |
#define | QRELTIMEOID 703 |
#define | QTIMEOID 1083 |
#define | QTIMESTAMPOID 1114 |
#define | QTIMESTAMPTZOID 1184 |
#define | QTIMETZOID 1266 |
#define | QXIDOID 28 |
Functions | |
static int | isinf_d (double x) |
static int | isinf_f (float x) |
static int | isinf_ld (long double x) |
static int | isnan_d (double x) |
static int | isnan_f (float x) |
static int | isnan_ld (long double x) |
template<typename T > | |
void | PQfreemem (T *t, int=0) |
static QString | qCreateParamString (const QVector< QVariant > boundValues, const QSqlDriver *driver) |
static void | qDeallocatePreparedStmt (QPSQLResultPrivate *d) |
static QVariant::Type | qDecodePSQLType (int t) |
static QSqlError | qMakeError (const QString &err, QSqlError::ErrorType type, const QPSQLDriverPrivate *p, PGresult *result=0) |
QString | qMakePreparedStmtId () |
static QPSQLDriver::Protocol | qMakePSQLVersion (int vMaj, int vMin) |
void | qPQfreemem (void *buffer) |
static QString | qQuote (QString s) |
static QString | qReplacePlaceholderMarkers (const QString &query) |
static void | qSplitTableName (QString &tablename, QString &schema) |
#define isinf | ( | x | ) |
Definition at line 74 of file qsql_psql.cpp.
Referenced by QPSQLDriver::formatValue().
#define isnan | ( | x | ) |
Definition at line 64 of file qsql_psql.cpp.
Referenced by QPSQLDriver::formatValue(), isinf_d(), isinf_f(), and isinf_ld().
#define QABSTIMEOID 702 |
Definition at line 92 of file qsql_psql.cpp.
Referenced by qDecodePSQLType().
#define QBOOLOID 16 |
Definition at line 85 of file qsql_psql.cpp.
Referenced by qDecodePSQLType().
#define QBYTEAOID 17 |
Definition at line 100 of file qsql_psql.cpp.
Referenced by qDecodePSQLType().
#define QCIDOID 29 |
Definition at line 103 of file qsql_psql.cpp.
Referenced by qDecodePSQLType().
#define QDATEOID 1082 |
Definition at line 94 of file qsql_psql.cpp.
Referenced by qDecodePSQLType().
#define QFLOAT4OID 700 |
Definition at line 90 of file qsql_psql.cpp.
Referenced by qDecodePSQLType().
#define QFLOAT8OID 701 |
Definition at line 91 of file qsql_psql.cpp.
Referenced by qDecodePSQLType().
#define QINT2OID 21 |
Definition at line 87 of file qsql_psql.cpp.
Referenced by qDecodePSQLType().
#define QINT4OID 23 |
Definition at line 88 of file qsql_psql.cpp.
Referenced by qDecodePSQLType().
#define QINT8OID 20 |
Definition at line 86 of file qsql_psql.cpp.
Referenced by qDecodePSQLType().
#define QNUMERICOID 1700 |
Definition at line 89 of file qsql_psql.cpp.
Referenced by QPSQLResult::data(), and qDecodePSQLType().
#define QOIDOID 2278 |
Definition at line 99 of file qsql_psql.cpp.
Referenced by qDecodePSQLType().
#define QREGPROCOID 24 |
Definition at line 101 of file qsql_psql.cpp.
Referenced by qDecodePSQLType().
#define QRELTIMEOID 703 |
Definition at line 93 of file qsql_psql.cpp.
Referenced by qDecodePSQLType().
#define QTIMEOID 1083 |
Definition at line 95 of file qsql_psql.cpp.
Referenced by qDecodePSQLType().
#define QTIMESTAMPOID 1114 |
Definition at line 97 of file qsql_psql.cpp.
Referenced by qDecodePSQLType().
#define QTIMESTAMPTZOID 1184 |
Definition at line 98 of file qsql_psql.cpp.
Referenced by qDecodePSQLType().
#define QTIMETZOID 1266 |
Definition at line 96 of file qsql_psql.cpp.
Referenced by qDecodePSQLType().
#define QXIDOID 28 |
Definition at line 102 of file qsql_psql.cpp.
Referenced by qDecodePSQLType().
|
inlinestatic |
Definition at line 79 of file qsql_psql.cpp.
|
inlinestatic |
Definition at line 78 of file qsql_psql.cpp.
|
inlinestatic |
Definition at line 80 of file qsql_psql.cpp.
|
inlinestatic |
Definition at line 69 of file qsql_psql.cpp.
|
inlinestatic |
Definition at line 68 of file qsql_psql.cpp.
|
inlinestatic |
Definition at line 70 of file qsql_psql.cpp.
|
inline |
|
static |
Definition at line 552 of file qsql_psql.cpp.
Referenced by QPSQLResult::exec().
|
static |
Definition at line 285 of file qsql_psql.cpp.
Referenced by QPSQLResult::prepare(), and QPSQLResult::~QPSQLResult().
|
static |
Definition at line 239 of file qsql_psql.cpp.
Referenced by QPSQLResult::data(), QPSQLDriver::primaryIndex(), QPSQLResult::record(), and QPSQLDriver::record().
|
static |
Definition at line 205 of file qsql_psql.cpp.
Referenced by QPSQLDriver::beginTransaction(), QPSQLDriver::commitTransaction(), QPSQLDriver::open(), QPSQLResult::prepare(), QPSQLResultPrivate::processResults(), QPSQLDriver::rollbackTransaction(), QPSQLDriver::subscribeToNotificationImplementation(), and QPSQLDriver::unsubscribeFromNotificationImplementation().
QString qMakePreparedStmtId | ( | ) |
Definition at line 575 of file qsql_psql.cpp.
Referenced by QPSQLResult::prepare().
|
static |
Definition at line 667 of file qsql_psql.cpp.
Referenced by QPSQLDriverPrivate::getPSQLVersion().
|
inline |
Definition at line 115 of file qsql_psql.cpp.
Referenced by QPSQLDriver::_q_handleNotification(), QPSQLResult::data(), and QPSQLDriver::formatValue().
Definition at line 828 of file qsql_psql.cpp.
Referenced by QPSQLDriver::open().
Definition at line 529 of file qsql_psql.cpp.
Referenced by QPSQLResult::prepare().
Definition at line 996 of file qsql_psql.cpp.
Referenced by QPSQLDriver::primaryIndex(), and QPSQLDriver::record().