directory
25.1.0+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev
# Packages
cmp-protocol connects to postgres and cockroach servers and compares the binary and text pgwire encodings of SQL statements.
cmp-sql connects to postgres and cockroach servers and compares the results of SQL statements.
Package cmpconn assists in comparing results from DB connections.
This is the default entry point for a CockroachDB binary.
cockroach-short is an entry point for a CockroachDB binary that excludes certain components that are slow to build or have heavyweight dependencies.
cockroach-sql is an entry point for a CockroachDB binary that only includes the SQL shell and does not include any server components.
cr2pg is a program that reads CockroachDB-formatted SQL files on stdin, modifies them to be Postgres compatible, and outputs them to stdout.
Copyright 2021 The Cockroach Authors.
fuzz builds and executes fuzz tests.
This connects to a postgres server and crafts postgres-protocol message to encode its arguments into postgres' text and binary encodings.
This connects to Postgresql and retrieves all the information about the tables in the pg_catalog schema.
Copyright 2021 The Cockroach Authors.
Command github-post parses the JSON-formatted output from a Go test session, as generated by either 'go test -json' or './pkg.test | go tool test2json -t', and posts issues for any failed tests to GitHub.
This utility detects new tests added in a given pull request, and runs them under stress in our CI infrastructure.
Package simulation provides tools meant to visualize or test aspects
of a Cockroach cluster on a single host.
Package importtools adds some blank imports in main.go to help in `go mod tidy`.
prereqs generates Make prerequisites for Go binaries.
reduce reduces SQL passed from the input file using cockroach demo.
Command roachvet is a vettool which includes all of the standard analysis passes included in go vet as well as the `shadow` pass and some first-party passes.
Copyright 2024 The Cockroach Authors.
Copyright 2020 The Cockroach Authors.
skiperrs connects to a postgres-compatible server with its URL specified as the first argument.
smithcmp is a tool to execute random queries on a database.
smithtest is a tool to execute sqlsmith tests on cockroach demo instances.
testfilter is a utility to manipulate JSON streams in [test2json] format.
uptodate efficiently computes whether an output file is up-to-date with regard to its input files.
whoownsit looks for OWNERS in the directory and parenting directories until it finds an owner for a given file.