mirror of
https://github.com/neondatabase/neon.git
synced 2026-08-18 12:08:19 +00:00
basically working. problem: my test files are version 15 but Im testing with version 14
This commit is contained in:
@@ -146,6 +146,8 @@ pub async fn download_extension(
|
||||
pgbin: &str,
|
||||
pg_version: &str,
|
||||
) -> Result<()> {
|
||||
let ext_name = ext_name.replace(".so", "");
|
||||
|
||||
info!("DOWNLOAD EXTENSION {:?}", ext_name);
|
||||
let ext_name_targz = ext_name.to_owned() + ".tar.gz";
|
||||
let ext_path = RemotePath::new(
|
||||
@@ -154,7 +156,7 @@ pub async fn download_extension(
|
||||
.join(ext_name_targz.clone()),
|
||||
)?;
|
||||
let local_sharedir = Path::new(&get_pg_config("--sharedir", pgbin)).join("extension");
|
||||
let local_libdir = Path::new(&get_pg_config("--libdir", pgbin)).to_owned();
|
||||
let local_libdir = Path::new(&get_pg_config("--libdir", pgbin)).join("postgresql");
|
||||
info!(
|
||||
"Start downloading extension {:?} from {:?}",
|
||||
ext_name, ext_path
|
||||
|
||||
Reference in New Issue
Block a user