Commit c636384
committed
Create pre-flight validation module
Add comprehensive pre-flight checks to validate environment before
replication starts:
- Local environment: pg_dump, pg_dumpall, pg_restore, psql availability
- Version compatibility: local pg_dump version vs source server
- Network connectivity: test connections to source and target
- Source permissions: REPLICATION privilege and table SELECT access
- Target permissions: CREATEDB and subscription privileges
Results are collected into PreflightResult with formatted output
showing pass/fail status and suggested fixes for issues.
Closes #51 parent 27a1622 commit c636384
2 files changed
Lines changed: 504 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
0 commit comments