summaryrefslogtreecommitdiff
path: root/libpqpp/pq-column.h
diff options
context:
space:
mode:
Diffstat (limited to 'libpqpp/pq-column.h')
-rw-r--r--libpqpp/pq-column.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libpqpp/pq-column.h b/libpqpp/pq-column.h
index f01ee9a..08e66a6 100644
--- a/libpqpp/pq-column.h
+++ b/libpqpp/pq-column.h
@@ -9,6 +9,7 @@ namespace PQ {
class Column : public DB::Column {
public:
Column(const SelectBase *, unsigned int field);
+ ~Column();
bool isNull() const override;
void apply(DB::HandleField &) const override;
@@ -16,6 +17,8 @@ namespace PQ {
protected:
const SelectBase * sc;
const Oid oid;
+ // Buffer for PQunescapeBytea
+ mutable unsigned char * buf;
};
}