Skip to content

Commit afa820f

Browse files
committed
qualify schema namespace
1 parent c2cf3a2 commit afa820f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pgml-extension/src/orm/dataset.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ fn drop_table_if_exists(table_name: &str) {
9898
(PgBuiltInOids::TEXTOID.oid(), table_name.clone().into_datum())
9999
]).unwrap().unwrap();
100100
match table_count {
101-
1 => Spi::run(&format!(r#"DROP TABLE {table_name}"#)).unwrap(),
101+
1 => Spi::run(&format!(r#"DROP TABLE pgml.{table_name}"#)).unwrap(),
102102
_ => (),
103103
}
104104
}

pgml-extension/tests/test.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
--- Usage:
55
---
66
--- $ cargo pgx run --release
7-
--- $ psql -h localhost -p 28813 -d pgml -f tests/test.sql -P pager
7+
--- $ psql -h localhost -p 28815 -d pgml -f tests/test.sql -P pager
88
---
99
\set ON_ERROR_STOP true
1010
\timing on

0 commit comments

Comments
 (0)