You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The parameter fdw_restrictinfo was added in PG17 for function create_foreignscan_path...
add_path(baserel,
(Path *) create_foreignscan_path(root, baserel,
#if PG_VERSION_NUM >= 90600
NULL, /* PathTarget */
#endif
baserel->rows,
startup_cost,
total_cost,
NIL, /* no pathkeys */
NULL, /* no outer rel either */
NULL, /* no extra plan */
#if PG_VERSION_NUM >= 170000
NIL, /* fdw_restrictinfo was missing <<<<<<<<<<<<<< */
#endif
NIL /* no fdw_private list */));
Also I found that the makefile needed to change from...
SHLIB_LINK = -lodbc
to
SHLIB_LINK = -lodbc32
I'm using unixodbc, so it compiled okay but the CREATE EXTENSION would not work in PG without first making the above change.
robe2
added a commit
to robe2/odbc_fdw
that referenced
this issue
Dec 22, 2024
Context
Compiling the project in a PostgreSQL 17 context.
Steps to Reproduce
Current Result
Expected result
No errors.
System trying to connect to and version
Not applicable.
Additional info
Not applicable.
The text was updated successfully, but these errors were encountered: