Implement PostgreSQL Installer Module for Rhai #6

Merged
MahmoudEmad merged 2 commits from development_psgl_installer into main 2025-05-09 14:12:57 +00:00

2 Commits

Author SHA1 Message Date
Mahmoud Emad
138dce66fa feat: Enhance PostgreSQL installation with image pulling
Some checks failed
Rhai Tests / Run Rhai Tests (pull_request) Has been cancelled
- Pull the PostgreSQL image before installation to ensure the latest
  version is used. This improves reliability and reduces the chance of
  using outdated images.  Improves the robustness of the installation
  process.
- Added comprehensive unit tests for `PostgresInstallerConfig`,
  `PostgresInstallerError`, `install_postgres`, `create_database`,
  `execute_sql`, and `is_postgres_running` functions to ensure
  correctness and handle potential errors effectively.  Improves code
  quality and reduces the risk of regressions.
2025-05-09 16:13:24 +03:00
Mahmoud Emad
49e85ff8e6 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.
2025-05-09 15:47:26 +03:00