docs: Enhance PostgreSQL client module documentation
Some checks failed
Rhai Tests / Run Rhai Tests (push) Has been cancelled

- Add details about the new PostgreSQL installer feature.
- Include prerequisites for installer and basic operations.
- Expand test file descriptions with installer details.
- Add descriptions for installer functions.
- Include example usage for both basic operations and installer.
This commit is contained in:
Mahmoud Emad
2025-05-09 15:47:26 +03:00
parent 663367ea57
commit 49e85ff8e6
13 changed files with 1277 additions and 3 deletions

View File

@@ -0,0 +1,22 @@
// Simple test script to verify that the Rhai engine is working
print("Hello, world!");
// Try to access the PostgreSQL installer functions
print("\nTrying to access PostgreSQL installer functions...");
// Try to call the pg_install function
try {
let result = pg_install(
"postgres-test",
"15",
5433,
"testuser",
"testpassword"
);
print("pg_install result: " + result);
} catch(e) {
print("Error calling pg_install: " + e);
}
print("\nTest completed!");