File tree Expand file tree Collapse file tree 6 files changed +9
-141
lines changed Expand file tree Collapse file tree 6 files changed +9
-141
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ pub mod auth;
22pub ( crate ) mod client;
33mod handlers;
44pub mod hooks;
5- #[ cfg( test) ]
5+ #[ cfg( any ( test, debug_assertions ) ) ]
66pub mod testing;
77
88use std:: fs:: File ;
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1- mod common;
2-
3- use common:: * ;
41use pgwire:: api:: query:: SimpleQueryHandler ;
52
3+ use datafusion_postgres:: testing:: * ;
4+
65const DBEAVER_QUERIES : & [ & str ] = & [
76 "SET extra_float_digits = 3" ,
87 "SET application_name = 'PostgreSQL JDBC Driver'" ,
Original file line number Diff line number Diff line change 1- mod common;
2-
3- use common:: * ;
41use pgwire:: api:: query:: SimpleQueryHandler ;
52
3+ use datafusion_postgres:: testing:: * ;
4+
65const METABASE_QUERIES : & [ & str ] = & [
76 "SET extra_float_digits = 2" ,
87 "SET application_name = 'Metabase v0.55.1 [f8f63fdf-d8f8-4573-86ea-4fe4a9548041]'" ,
Original file line number Diff line number Diff line change 1- mod common;
2-
3- use common:: * ;
41use pgwire:: api:: query:: SimpleQueryHandler ;
52
3+ use datafusion_postgres:: testing:: * ;
4+
65const PGCLI_QUERIES : & [ & str ] = & [
76 "SELECT 1" ,
87 "show time zone" ,
Original file line number Diff line number Diff line change 1- mod common;
2-
3- use common:: * ;
41use pgwire:: api:: query:: SimpleQueryHandler ;
52
3+ use datafusion_postgres:: testing:: * ;
4+
65const PSQL_QUERIES : & [ & str ] = & [
76 "SELECT c.oid,
87 n.nspname,
You can’t perform that action at this time.
0 commit comments