cloudnative-pg icon indicating copy to clipboard operation
cloudnative-pg copied to clipboard

[Feature]: additional options for `pg_dump` and `pg_restore` in import

Open gbartolini opened this issue 1 year ago • 0 comments

Is there an existing issue already for this feature request/idea?

  • [X] I have searched for an existing issue, and could not find anything. I believe this is a new feature request to be evaluated.

What problem is this feature going to solve? Why should it be added?

The import database process doesn't provide a way to pass additional options to pg_dump and pg_restore.

Describe the solution you'd like

Introduce two new options in the .spec.initdb.import stanza that allow users to pass additional options to pg_dump and pg_restore.

Describe alternatives you've considered

N/A

Additional context

No response

Backport?

No

Are you willing to actively contribute to this feature?

No

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

gbartolini avatar Oct 15 '24 08:10 gbartolini