Implement internal/connection to manage database connection pools for PostgreSQL and SQLite.
The connection manager should:
- Read connection configuration from HCL
connection blocks.
- Create and initialize the appropriate database pool.
- Expose pools to pipeline execution.
- Handle clean startup and shutdown.
- Return useful errors for invalid connections or initialization failures.
Implement
internal/connectionto manage database connection pools for PostgreSQL and SQLite.The connection manager should:
connectionblocks.