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.
- PG_
QUERY_ ๐TIMEOUT Timeout for a query. - RELATIONS ๐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:
- format_
file_ ๐path - 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.