Skip to content

Commit

Permalink
fix: add url to local cache file hash
Browse files Browse the repository at this point in the history
  • Loading branch information
burmecia committed Jul 7, 2024
1 parent e0f8729 commit 597fae4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion wrappers/src/fdw/wasm_fdw/wasm_fdw.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,9 @@ fn download_component(

// calculate file name hash and make up cache path
let hash = Sha256::digest(format!(
"{}:{}@{}",
"{}:{}:{}@{}",
unsafe { pg_sys::GetUserId().as_u32() },
url,
name,
version
));
Expand Down

0 comments on commit 597fae4

Please sign in to comment.