- 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.
- Implement connection pooling using `r2d2` and `r2d2_postgres`
- Add connection pool configuration options to `PostgresConfigBuilder`
- Introduce transaction functions with automatic commit/rollback
- Add functions for executing queries using the connection pool
- Add `QueryParams` struct for building parameterized queries
- Add tests for connection pooling and transaction functions
- Add PostgreSQL client functionality for database interactions.
- Add Redis client functionality for cache and data store operations.
- Extend Rhai scripting with PostgreSQL and Redis client modules.
- Add documentation and test cases for both clients.