diff options
author | vvvv <[email protected]> | 2024-11-07 12:29:36 +0300 |
---|---|---|
committer | vvvv <[email protected]> | 2024-11-07 13:49:47 +0300 |
commit | d4c258e9431675bab6745c8638df6e3dfd4dca6b (patch) | |
tree | b5efcfa11351152a4c872fccaea35749141c0b11 /yql/essentials/parser/pg_wrapper/pg_kernels.13.cpp | |
parent | 13a4f274caef5cfdaf0263b24e4d6bdd5521472b (diff) |
Moved other yql/essentials libs YQL-19206
init
commit_hash:7d4c435602078407bbf20dd3c32f9c90d2bbcbc0
Diffstat (limited to 'yql/essentials/parser/pg_wrapper/pg_kernels.13.cpp')
-rw-r--r-- | yql/essentials/parser/pg_wrapper/pg_kernels.13.cpp | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/yql/essentials/parser/pg_wrapper/pg_kernels.13.cpp b/yql/essentials/parser/pg_wrapper/pg_kernels.13.cpp new file mode 100644 index 00000000000..08c53f05c59 --- /dev/null +++ b/yql/essentials/parser/pg_wrapper/pg_kernels.13.cpp @@ -0,0 +1,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.13.inc" +#else +#include "pg_proc_policies.13.inc" +#include "pg_kernels.13.inc" +#endif +Y_PRAGMA_DIAGNOSTIC_POP + +} + +} |