blob: 0279918796c98f68ca3d850b621c1769ed3aae00 (
plain) (
blame)
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
extern "C" {
#include "postgres.h"
#include "fmgr.h"
#include "postgresql/src/backend/utils/fmgrprotos.h"
#undef Abs
#undef Min
#undef Max
#undef TypeName
#undef SortBy
#undef Sort
#undef Unique
#undef LOG
#undef INFO
#undef NOTICE
#undef WARNING
#undef ERROR
#undef FATAL
#undef PANIC
#undef open
#undef fopen
#undef bind
#undef locale_t
#undef strtou64
}
#include "arrow.h"
namespace NYql {
extern "C" {
Y_PRAGMA_DIAGNOSTIC_PUSH
Y_PRAGMA("GCC diagnostic ignored \"-Wreturn-type-c-linkage\"")
#ifdef USE_SLOW_PG_KERNELS
#include "pg_kernels.slow.12.inc"
#else
#include "pg_proc_policies.12.inc"
#include "pg_kernels.12.inc"
#endif
Y_PRAGMA_DIAGNOSTIC_POP
}
}
|