package
0.0.0-20250312033235-bd4f568112dc
Repository: https://github.com/sourcegraph/src-cli.git
Documentation: pkg.go.dev

# Functions

BuildCommands generates commands that output Postgres dumps and sends them to predefined files for each target database.
Builder generates the CommandBuilder and targetKey for a given builder and PGCommand.
DumpCommand generates a pg_dump command that can be used for on-prem-to-Cloud migrations.
Outputs generates a set of mappings between a pgdump.Target and the desired output path.
PartialCopyWithoutExtensions will perform a partial copy of a SQL database dump from src to dst while commenting out EXTENSIONs-related statements.
RestoreCommand generates a psql command that can be used for migrations.

# Structs

No description provided by the author
Target represents a database for pg_dump to export.
Targets represents configuration for each of Sourcegraph's databases.

# Type aliases

No description provided by the author
No description provided by the author