blob: 026e15fe4ad3ebcb5a27ed36f50d4dc9c2a7bbb8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
// file : mapping/traits-pgsql.cxx
// author : Constantin Michael <constantin@codesynthesis.com>
// copyright : not copyrighted - public domain
#include "traits-pgsql.hxx"
namespace odb
{
namespace pgsql
{
namespace
{
tm pg_epoch_tm = {0, 0, 0, 1, 1, 100, 0, 0, 0, 0, 0};
}
const time_t value_traits<date, id_date>::pg_epoch_tt (
mktime (&pg_epoch_tm));
}
}
|