We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2cf3a2 commit afa820fCopy full SHA for afa820f
pgml-extension/src/orm/dataset.rs
@@ -98,7 +98,7 @@ fn drop_table_if_exists(table_name: &str) {
98
(PgBuiltInOids::TEXTOID.oid(), table_name.clone().into_datum())
99
]).unwrap().unwrap();
100
match table_count {
101
- 1 => Spi::run(&format!(r#"DROP TABLE {table_name}"#)).unwrap(),
+ 1 => Spi::run(&format!(r#"DROP TABLE pgml.{table_name}"#)).unwrap(),
102
_ => (),
103
}
104
pgml-extension/tests/test.sql
@@ -4,7 +4,7 @@
4
--- Usage:
5
---
6
--- $ cargo pgx run --release
7
---- $ psql -h localhost -p 28813 -d pgml -f tests/test.sql -P pager
+--- $ psql -h localhost -p 28815 -d pgml -f tests/test.sql -P pager
8
9
\set ON_ERROR_STOP true
10
\timing on
0 commit comments