Skip to content

Add built-in databaseRename option for snapshot jobs#279

Closed
Sarumyan wants to merge 1 commit intopostgres-ai:masterfrom
Sarumyan:feature/rename-database
Closed

Add built-in databaseRename option for snapshot jobs#279
Sarumyan wants to merge 1 commit intopostgres-ai:masterfrom
Sarumyan:feature/rename-database

Conversation

@Sarumyan
Copy link
Contributor

Summary

  • Add native databaseRename configuration to physicalSnapshot and logicalSnapshot jobs
  • Eliminates the need for custom preprocess.sh scripts for the common database rename operation
  • Spins up a temporary container and runs ALTER DATABASE RENAME for each configured mapping, with validation to prevent renaming the connection database

Configuration example

physicalSnapshot:
  options:
    databaseRename:
      example_production: example_dblab
      analytics_prod: analytics_dblab

🤖 Generated with Claude Code

Add native databaseRename configuration to physicalSnapshot and
logicalSnapshot jobs, eliminating the need for custom preprocessing
scripts for this common operation. The feature spins up a temporary
container and runs ALTER DATABASE RENAME for each configured mapping.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@Sarumyan Sarumyan closed this by deleting the head repository Feb 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant