blob: d6c05659b0f1bb990126e9d06a4f234b98ec3152 (
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
|
// file : odb/pgsql/auto-handle.cxx
// license : GNU GPL v2; see accompanying LICENSE file
#include <libpq-fe.h>
#include <odb/pgsql/auto-handle.hxx>
namespace odb
{
namespace pgsql
{
void handle_traits<PGconn>::
release (PGconn* h)
{
PQfinish (h);
}
void handle_traits<PGresult>::
release (PGresult* h)
{
PQclear (h);
}
}
}
|