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 22, 2024
1 parent 55cfbfa commit ea251b2
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 @@ -897,6 +897,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 ea251b2

Please sign in to comment.