blob: 08e66a6211263f10daa16f1489af1b245f967fda (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#ifndef PG_COLUMN_H
#define PG_COLUMN_H
#include <column.h>
#include <libpq-fe.h>
namespace PQ {
class SelectBase;
class Column : public DB::Column {
public:
Column(const SelectBase *, unsigned int field);
~Column();
bool isNull() const override;
void apply(DB::HandleField &) const override;
protected:
const SelectBase * sc;
const Oid oid;
// Buffer for PQunescapeBytea
mutable unsigned char * buf;
};
}
#endif
|