2017-02-13 19:51:19 +01:00
|
|
|
|
#ifndef PGSQL_DECLARE_H
|
|
|
|
|
|
#define PGSQL_DECLARE_H
|
|
|
|
|
|
|
2017-08-23 08:10:01 +02:00
|
|
|
|
#include <libpq-fe.h>
|
2017-02-13 19:51:19 +01:00
|
|
|
|
|
|
|
|
|
|
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
|