Skip to content

Commit

Permalink
workaround strange linker errors for PostgreSQL 14 on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
usamoi committed Nov 2, 2024
1 parent ba6e549 commit 8befc9f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pgrx-bindgen/src/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -870,6 +870,8 @@ fn add_blocklists(bind: bindgen::Builder) -> bindgen::Builder {
.blocklist_function("varsize_any")
// it's defined twice on Windows, so use PGERROR instead
.blocklist_item("ERROR")
// it causes strange linker errors for PostgreSQL 14 on Windows
.blocklist_function("IsQueryIdEnabled")
}

fn add_allowlists<'a>(
Expand Down

0 comments on commit 8befc9f

Please sign in to comment.