This is an automated email from the ASF dual-hosted git repository.

xuanwo pushed a commit to branch add-pg-support
in repository https://gitbox.apache.org/repos/asf/incubator-opendal.git


The following commit(s) were added to refs/heads/add-pg-support by this push:
     new 616435c3c Add postgres
616435c3c is described below

commit 616435c3c9dcb361b3686517355bc74ac384af44
Author: Xuanwo <[email protected]>
AuthorDate: Wed Aug 9 16:05:50 2023 +0800

    Add postgres
    
    Signed-off-by: Xuanwo <[email protected]>
---
 core/src/services/mod.rs    | 2 ++
 core/tests/behavior/main.rs | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/core/src/services/mod.rs b/core/src/services/mod.rs
index 656738f0f..e3236ef59 100644
--- a/core/src/services/mod.rs
+++ b/core/src/services/mod.rs
@@ -206,3 +206,5 @@ pub use self::foundationdb::Foundationdb;
 
 #[cfg(feature = "services-postgresql")]
 mod postgresql;
+#[cfg(feature = "services-postgresql")]
+pub use self::postgresql::Postgresql;
diff --git a/core/tests/behavior/main.rs b/core/tests/behavior/main.rs
index ca8b2e61f..facbd34a0 100644
--- a/core/tests/behavior/main.rs
+++ b/core/tests/behavior/main.rs
@@ -139,6 +139,8 @@ fn main() -> anyhow::Result<()> {
     tests.extend(behavior_test::<services::Obs>());
     #[cfg(feature = "services-onedrive")]
     tests.extend(behavior_test::<services::Onedrive>());
+    #[cfg(feature = "services-postgresql")]
+    tests.extend(behavior_test::<services::Postgresql>());
     #[cfg(feature = "services-gdrive")]
     tests.extend(behavior_test::<services::Gdrive>());
     #[cfg(feature = "services-dropbox")]

Reply via email to