Skip to content
Snippets Groups Projects

feat: queryPreprocessing in logicalRestore + support inline SQL in any queryPreprocessing (#407)

Merged Artyom Kartasov requested to merge 407-inline-query-preprocessor into master
All threads resolved!
9 files
+ 273
21
Compare changes
  • Side-by-side
  • Inline
Files
9
@@ -288,6 +288,18 @@ retrieval:
# database2:
# databaseN:
# It is possible to define pre-processing SQL queries. For example, "/tmp/scripts/sql".
# Default: empty string (no pre-processing defined).
queryPreprocessing:
# Path to SQL pre-processing queries. Default: empty string (no pre-processing defined).
queryPath: ""
# Worker limit for parallel queries. Parallelization doesn't work for inline SQL queries.
maxParallelWorkers: 2
# Inline SQL. Queries run after scripts placed in 'queryPath'.
inline: ""
logicalSnapshot:
options:
# Adjust PostgreSQL configuration
@@ -308,6 +320,9 @@ retrieval:
# Worker limit for parallel queries.
maxParallelWorkers: 2
# Inline SQL. Queries run after scripts placed in 'queryPath'.
inline: ""
cloning:
# Host that will be specified in database connection info for all clones
# Use public IP address if database connections are allowed from outside
Loading