Moved lowlevel postgresql wrappers to seperate folder and static lib.

This commit is contained in:
Eelke Klein 2017-08-26 14:50:36 +02:00
parent 869d867191
commit f7cf93bb9a
12 changed files with 9 additions and 5 deletions

27
pgsql/Pgsql_declare.h Normal file
View file

@ -0,0 +1,27 @@
#ifndef PGSQL_DECLARE_H
#define PGSQL_DECLARE_H
#include <libpq-fe.h>
namespace Pgsql {
const Oid oid_bool = 16;
const Oid oid_int2 = 21;
const Oid oid_int4 = 23;
const Oid oid_int8 = 20;
const Oid oid_float4 = 700;
const Oid oid_float8 = 701;
const Oid oid_numeric = 1700;
const Oid oid_oid = 26;
const Oid oid_varchar = 1043;
class Params;
class Connection;
class Result;
class Value;
class Row;
} // END namespace Pgsql
#endif // PGSQL_DECLARE_H