librewolf: update to 134.0-1
[oi-userland.git] / components / database / postgresql-14-mysql_fdw / patches / 03-ExecGetJunkAttribute.patch
blob104b5f9548c839f3ba275c72a3c05c9f43a9905d
1 Since version 14.1 it seems ExecGetJunkAttribute is defined in the server/executor/executor.h
2 header file as inline function and the symbol is no longer exported from the postgres binary.
3 So to be able to load mysql_fdw.so we need to include that include file when compiling.
4 diff -wpruN '--exclude=*.orig' a~/mysql_fdw.c a/mysql_fdw.c
5 --- a~/mysql_fdw.c 1970-01-01 00:00:00
6 +++ a/mysql_fdw.c 1970-01-01 00:00:00
7 @@ -35,6 +35,9 @@
8 #include "commands/defrem.h"
9 #include "commands/explain.h"
10 #include "catalog/heap.h"
11 +#if PG_VERSION_NUM >= 140000
12 +#include "executor/executor.h"
13 +#endif
14 #include "foreign/fdwapi.h"
15 #include "miscadmin.h"
16 #include "mysql_query.h"