We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a00d286 commit c1875d3Copy full SHA for c1875d3
ydb/library/yql/parser/pg_wrapper/utils.cpp
@@ -1,20 +1,27 @@
1
-#include <util/system/compiler.h>
2
-#include <ydb/library/yql/parser/pg_catalog/catalog.h>
+#include "pg_compat.h"
3
4
extern "C" {
5
#include "postgres.h"
6
#include "fmgr.h"
7
#include "utils/array.h"
+#include "utils/elog.h"
8
#include "pgstat.h"
9
#include "catalog/pg_namespace_d.h"
10
}
11
12
#undef Max
13
+constexpr auto PG_ERROR = ERROR;
14
+#undef ERROR
15
16
#include "utils.h"
17
18
+#include <util/system/compiler.h>
19
+#include <ydb/library/yql/parser/pg_catalog/catalog.h>
20
+
21
#include <util/system/dynlib.h>
22
23
+#define ERROR PG_ERROR
24
25
namespace NYql {
26
27
void PrepareVariadicArraySlow(FunctionCallInfoBaseData& callInfo, const NPg::TProcDesc& desc) {
0 commit comments