Documentation
¶
Index ¶
- func CheckDatabaseExists(ctx context.Context, conn *pgx.Conn, database string) (bool, error)
- func CheckRoleExists(ctx context.Context, conn *pgx.Conn, role string) (bool, error)
- func CheckTableExists(ctx context.Context, conn *pgx.Conn, schema, name string) (bool, error)
- func DSN(conn *pgx.Conn, sslmode string) string
- func PgDump(ctx context.Context, dsn string, args []string) (string, error)
- func PsqlFile(ctx context.Context, dsn, file string) error
- type Instance
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckDatabaseExists ¶
func CheckRoleExists ¶
func CheckTableExists ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.