1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
/*
Portions Copyright 2019-2021 ZomboDB, LLC.
Portions Copyright 2021-2022 Technology Concepts & Design, Inc. <support@tcdi.com>
All rights reserved.
Use of this source code is governed by the MIT license that can be found in the LICENSE file.
*/
mod framework;
#[cfg(any(test, feature = "pg_test"))]
mod tests;
pub use framework::*;
#[cfg(any(test, feature = "pg_test"))]
pgx::pg_sql_graph_magic!();
#[cfg(test)]
pub mod pg_test {
pub fn setup(_options: Vec<&str>) {
// noop
}
pub fn postgresql_conf_options() -> Vec<&'static str> {
vec!["shared_preload_libraries='pgx_tests'"]
}
}