#include "soci.h"
#include "soci-postgresql.h"
#include "common-tests.h"
#include <iostream>
#include <sstream>
#include <string>
#include <cassert>
#include <cmath>
#include <cstring>
#include <ctime>
#include <cstdlib>
Go to the source code of this file.
Classes | |
struct | blob_table_creator |
struct | boolean_table_creator |
struct | bytea_table_creator |
class | function_creator |
struct | longlong_table_creator |
struct | oid_table_creator |
struct | table_creator_for_get_affected_rows |
struct | table_creator_for_test11 |
struct | table_creator_for_test12 |
struct | table_creator_for_uuid_column_type_support |
struct | table_creator_json |
struct | table_creator_one |
struct | table_creator_text |
struct | table_creator_three |
struct | table_creator_two |
class | test_context |
Typedefs | |
typedef std::pair< int, int > | server_version |
Functions | |
server_version | get_postgresql_version (session &sql) |
int | main (int argc, char **argv) |
void | test1 () |
void | test10 () |
void | test11 () |
void | test12 () |
void | test2 () |
void | test3 () |
void | test4 () |
void | test4ul () |
void | test5 () |
void | test6 () |
void | test7 () |
void | test8 () |
void | test9 () |
void | test_bytea () |
void | test_json () |
void | test_orm_cast () |
void | test_statement_prepare_failure () |
void | test_uuid_column_type_support () |
void | try_one_uuid_format (session &sql, const std::string &uuid, const std::string &uuidExpected) |
Variables | |
backend_factory const & | backEnd = *soci::factory_postgresql() |
std::string | connectString |
typedef std::pair<int,int> server_version |
Definition at line 611 of file test-postgresql.cpp.
server_version get_postgresql_version | ( | session & | sql | ) |
Definition at line 613 of file test-postgresql.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 842 of file test-postgresql.cpp.
void test1 | ( | ) |
Definition at line 44 of file test-postgresql.cpp.
void test10 | ( | ) |
Definition at line 443 of file test-postgresql.cpp.
void test11 | ( | ) |
Definition at line 493 of file test-postgresql.cpp.
void test12 | ( | ) |
Definition at line 532 of file test-postgresql.cpp.
void test2 | ( | ) |
Definition at line 133 of file test-postgresql.cpp.
void test3 | ( | ) |
Definition at line 203 of file test-postgresql.cpp.
void test4 | ( | ) |
Definition at line 256 of file test-postgresql.cpp.
void test4ul | ( | ) |
Definition at line 304 of file test-postgresql.cpp.
void test5 | ( | ) |
Definition at line 332 of file test-postgresql.cpp.
void test6 | ( | ) |
Definition at line 357 of file test-postgresql.cpp.
void test7 | ( | ) |
Definition at line 393 of file test-postgresql.cpp.
void test8 | ( | ) |
Definition at line 416 of file test-postgresql.cpp.
void test9 | ( | ) |
Definition at line 428 of file test-postgresql.cpp.
void test_bytea | ( | ) |
Definition at line 566 of file test-postgresql.cpp.
void test_json | ( | ) |
Definition at line 626 of file test-postgresql.cpp.
void test_orm_cast | ( | ) |
Definition at line 699 of file test-postgresql.cpp.
void test_statement_prepare_failure | ( | ) |
Definition at line 673 of file test-postgresql.cpp.
void test_uuid_column_type_support | ( | ) |
Definition at line 736 of file test-postgresql.cpp.
void try_one_uuid_format | ( | session & | sql, |
const std::string & | uuid, | ||
const std::string & | uuidExpected | ||
) |
Definition at line 716 of file test-postgresql.cpp.
backend_factory const& backEnd = *soci::factory_postgresql() |
Definition at line 24 of file test-postgresql.cpp.
std::string connectString |
Definition at line 23 of file test-postgresql.cpp.