You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: Add --include-non-partition-tables flag and fix scan error handling
- Add IncludeNonPartitionTables config option and --include-non-partition-tables flag
- Create nonPartitionTableListSQL query to find regular tables matching partition patterns
- Update partition discovery in archiver.go and progress.go to optionally include non-partition tables
- Fix scan error handling in progress.go to properly propagate errors instead of silently ignoring them
- Add partition validation to skip tables without columns during discovery
- Refactor partition discovery to use shared helper function for consistency
Fixes issue where tables matching partition naming patterns but not actually being
PostgreSQL partitions were causing errors. Now users can optionally include these
tables for processing.
Version 1.6.0
Copy file name to clipboardExpand all lines: CHANGELOG.md
+9Lines changed: 9 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,8 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
8
8
## [Unreleased]
9
9
10
+
## [1.7.0] - 2025-11-24
11
+
10
12
### Added
11
13
-**Archive Command:**
14
+
- New `--include-non-partition-tables` flag to include regular tables matching partition naming patterns (not just actual PostgreSQL partitions)
12
15
- When a table lacks physical partitions, providing `--date-column`, `--start-date`, and `--end-date` now enables synthetic date-window processing so partitionless tables can be archived with the standard workflow
13
16
-**pg_dump & dump-hybrid**
14
17
- Date-window dumps now reuse the global cache so completed windows or partition groups are skipped immediately on reruns when the S3 object already exists and matches size/MD5 (or multipart ETag)
@@ -18,6 +21,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
18
21
- Cache files are namespaced by subcommand plus the absolute S3 destination, preventing collisions when the same table is archived by different workflows or sent to different paths
19
22
- Existing per-table caches are migrated automatically the first time a scoped cache is loaded
20
23
24
+
### Fixed
25
+
-**Archive & pg_dump Commands:**
26
+
- Partition discovery now only returns tables that inherit from the requested parent table, preventing lookups against similarly named tables that are not real partitions (and the resulting "table not found or has no columns" errors)
27
+
- Partition permission checks use the same metadata so missing privileges on actual partitions are reported accurately instead of being mistaken for missing tables
28
+
- Scan errors during partition discovery in TUI mode are now properly propagated instead of being silently ignored, matching the behavior in debug mode
0 commit comments