Skip to content

Commit 8813c40

Browse files
committed
windows hack
1 parent 4d7a918 commit 8813c40

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

pgrx-bindgen/src/build.rs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -958,8 +958,13 @@ fn add_blocklists(
958958
.blocklist_function("PageIsValid")
959959
// it's defined twice on Windows, so use PGERROR instead
960960
.blocklist_item("ERROR")
961-
// it causes strange linker errors for PostgreSQL 14 on Windows
961+
// they cause linker errors for PostgreSQL 14 on Windows
962962
.blocklist_function("IsQueryIdEnabled")
963+
.blocklist_function("am_tablesync_worker")
964+
.blocklist_function("am_sequencesync_worker")
965+
.blocklist_function("am_leader_apply_worker")
966+
.blocklist_function("am_parallel_apply_worker")
967+
.blocklist_function("get_logical_worker_type")
963968
}
964969

965970
fn add_allowlists<'a>(

0 commit comments

Comments
 (0)