feat: adjust postgresql configuration before logical restore (#270)
Description
Adjust postgresql configuration before logical restore:
- add init and start Postgres functions to run with extended images
- provide ability to adjust PostgreSQL configuration for logical dump/restore jobs
Related issue
Examples
...
logicalRestore:
options:
dbname: "test"
dumpLocation: "/var/lib/dblab/dblab_pool/dump"
dockerImage: "postgresai/extended-postgres:13"
forceInit: true
configs:
shared_preload_libraries: "pg_stat_statements, auto_explain, pgaudit, logerrors, pg_stat_kcache"
...
Checklist
-
the MR description has been reviewed -
this MR contains text changes and they have been reviewed OR there are no texts changes -
this MR contains GUI/CLI changes and they have been reviewed OR there are no GUI/CLI changes -
this MR contains API changes, specifications reflect those changes and they have been reviewed OR there are no API changes
Closes #270 (closed)
Edited by Artyom Kartasov