Expand description
Dumps catalog information to files. We run queries in serial rather than parallel because all queries in the pgwire connection are run in serial anyways. Running the queries in serial also makes cleaning up / aborting queries much easier.
Structs§
Enums§
Statics§
- The maximum number of errors we tolerate for a cluster replica. If a cluster replica has more than this many errors, we skip it.
- Timeout for a query.
- This list is used to determine which relations to dump. The relations are grouped and delimited by their category (i.e. Basic object information)
Functions§
- Create a postgres connection string. The following defaults are used if the arguments are not provided:
- Spawns a port forwarding process for the given k8s service. The process will retry if the port-forwarding fails and will terminate once the port forwarding reaches the max number of retries. We retry since kubectl port-forward is flaky.