summaryrefslogtreecommitdiff
path: root/lib/output/pq/pqConn.h
blob: bcf30b6e8a7af1941cf0b6a03f0e6647a22666b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef MYGRATE_OUTPUT_PQ_PQCONN_H
#define MYGRATE_OUTPUT_PQ_PQCONN_H

#include <libpq-fe.h>

namespace MyGrate::Output::Pq {
	class PqConn {
	public:
		explicit PqConn(const char * const str);
		virtual ~PqConn();

	private:
		static void notice_processor(void *, const char *);
		virtual void notice_processor(const char *) const;

		PGconn * const conn;
	};
}

#endif