-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(SUP-2372) add pg_repack schema reset task #53
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would it be possible to have exception handling when not running on a Primary Postgres DB?
I looked at the I wanted to turn this code into a bash helper for Bolt, but that hasn't happened as of yet. The main thing it gets you is error handling; specifically, it captures |
@m0dular so from my understanding, we package the common.sh, and update the .json, declare and source it at the top of the bash script, change all variables in the main script from PT_variable to just variable, and call fail or success instead of the various Echos? |
@m0dular How does that look |
I have tested this task and it works for me |
Task added to reset pg_repack schema