@@ -1782,19 +1782,58 @@ type Import struct {
17821782 // +optional
17831783 SchemaOnly bool `json:"schemaOnly,omitempty"`
17841784
1785- // List of custom options to pass to the `pg_dump` command. IMPORTANT:
1786- // Use these options with caution and at your own risk, as the operator
1787- // does not validate their content. Be aware that certain options may
1788- // conflict with the operator's intended functionality or design.
1785+ // List of custom options to pass to the `pg_dump` command.
1786+ //
1787+ // IMPORTANT: Use with caution. The operator does not validate these options,
1788+ // and certain flags may interfere with its intended functionality or design.
1789+ // You are responsible for ensuring that the provided options are compatible
1790+ // with your environment and desired behavior.
1791+ //
17891792 // +optional
17901793 PgDumpExtraOptions []string `json:"pgDumpExtraOptions,omitempty"`
17911794
1792- // List of custom options to pass to the `pg_restore` command. IMPORTANT:
1793- // Use these options with caution and at your own risk, as the operator
1794- // does not validate their content. Be aware that certain options may
1795- // conflict with the operator's intended functionality or design.
1795+ // List of custom options to pass to the `pg_restore` command.
1796+ //
1797+ // IMPORTANT: Use with caution. The operator does not validate these options,
1798+ // and certain flags may interfere with its intended functionality or design.
1799+ // You are responsible for ensuring that the provided options are compatible
1800+ // with your environment and desired behavior.
1801+ //
17961802 // +optional
17971803 PgRestoreExtraOptions []string `json:"pgRestoreExtraOptions,omitempty"`
1804+
1805+ // Custom options to pass to the `pg_restore` command during the `pre-data`
1806+ // section. This setting overrides the generic `pgRestoreExtraOptions` value.
1807+ //
1808+ // IMPORTANT: Use with caution. The operator does not validate these options,
1809+ // and certain flags may interfere with its intended functionality or design.
1810+ // You are responsible for ensuring that the provided options are compatible
1811+ // with your environment and desired behavior.
1812+ //
1813+ // +optional
1814+ PgRestorePredataOptions []string `json:"pgRestorePredataOptions,omitempty"`
1815+
1816+ // Custom options to pass to the `pg_restore` command during the `data`
1817+ // section. This setting overrides the generic `pgRestoreExtraOptions` value.
1818+ //
1819+ // IMPORTANT: Use with caution. The operator does not validate these options,
1820+ // and certain flags may interfere with its intended functionality or design.
1821+ // You are responsible for ensuring that the provided options are compatible
1822+ // with your environment and desired behavior.
1823+ //
1824+ // +optional
1825+ PgRestoreDataOptions []string `json:"pgRestoreDataOptions,omitempty"`
1826+
1827+ // Custom options to pass to the `pg_restore` command during the `post-data`
1828+ // section. This setting overrides the generic `pgRestoreExtraOptions` value.
1829+ //
1830+ // IMPORTANT: Use with caution. The operator does not validate these options,
1831+ // and certain flags may interfere with its intended functionality or design.
1832+ // You are responsible for ensuring that the provided options are compatible
1833+ // with your environment and desired behavior.
1834+ //
1835+ // +optional
1836+ PgRestorePostdataOptions []string `json:"pgRestorePostdataOptions,omitempty"`
17981837}
17991838
18001839// ImportSource describes the source for the logical snapshot
0 commit comments