diff --git a/packages/backend-rs/src/database/postgresql.rs b/packages/backend-rs/src/database/postgresql.rs
index 52e95680bd..3a95cd65fb 100644
--- a/packages/backend-rs/src/database/postgresql.rs
+++ b/packages/backend-rs/src/database/postgresql.rs
@@ -39,6 +39,7 @@ pub async fn get_conn() -> Result<&'static DbConn, DbErr> {
 #[cfg(test)]
 mod unit_test {
     use super::get_conn;
+    use sea_orm::{prelude::*, DbBackend, Statement};
 
     #[tokio::test]
     async fn connect_sequential() {
@@ -66,4 +67,19 @@ mod unit_test {
             task.await.unwrap().unwrap();
         }
     }
+
+    #[tokio::test]
+    async fn access() {
+        // DO NOT write any raw SQL query in the actual program
+        // (with the exception of PGroonga features)
+        get_conn()
+            .await
+            .unwrap()
+            .execute(Statement::from_string(
+                DbBackend::Postgres,
+                "SELECT version()",
+            ))
+            .await
+            .unwrap();
+    }
 }