├── .regresignore.example ├── LICENSE ├── README.md ├── cmd ├── baseline.go ├── config.go ├── doc.go ├── fixtures.go ├── init.go ├── list.go ├── plan.go ├── root.go ├── snapshot.go ├── test.go ├── update.go ├── utils.go └── version.go ├── examples └── fixtures │ ├── README.md │ ├── regresql │ └── fixtures │ │ ├── categories.yaml │ │ ├── customers_base.yaml │ │ ├── products.yaml │ │ ├── products_advanced.yaml │ │ ├── sql │ │ ├── insert_categories.sql │ │ └── insert_users.sql │ │ ├── users.yaml │ │ ├── users_advanced.yaml │ │ ├── users_identity.yaml │ │ └── users_sql.yaml │ └── schema.sql ├── go.mod ├── go.sum ├── main.go └── regresql ├── baseline.go ├── config.go ├── config_test.go ├── db.go ├── diff.go ├── diff_semantic.go ├── doc.go ├── fixture.go ├── fixture_errors.go ├── fixture_manager.go ├── formatter_console.go ├── formatter_github.go ├── formatter_json.go ├── formatter_junit.go ├── formatter_pgtap.go ├── formatters.go ├── generator.go ├── generators_basic.go ├── generators_fk.go ├── generators_pattern.go ├── generators_range.go ├── generators_template.go ├── ignore.go ├── library.go ├── plan_analysis.go ├── plan_comparison.go ├── plan_quality.go ├── plans.go ├── regresql.go ├── regress.yaml ├── resultset.go ├── schema.go ├── snapshot.go ├── snapshot_test.go ├── sql.go ├── sql_test.go ├── suite.go └── tap.go /.regresignore.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boringSQL/regresql/HEAD/.regresignore.example -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boringSQL/regresql/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boringSQL/regresql/HEAD/README.md -------------------------------------------------------------------------------- /cmd/baseline.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boringSQL/regresql/HEAD/cmd/baseline.go -------------------------------------------------------------------------------- /cmd/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boringSQL/regresql/HEAD/cmd/config.go -------------------------------------------------------------------------------- /cmd/doc.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boringSQL/regresql/HEAD/cmd/doc.go -------------------------------------------------------------------------------- /cmd/fixtures.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boringSQL/regresql/HEAD/cmd/fixtures.go -------------------------------------------------------------------------------- /cmd/init.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boringSQL/regresql/HEAD/cmd/init.go -------------------------------------------------------------------------------- /cmd/list.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boringSQL/regresql/HEAD/cmd/list.go -------------------------------------------------------------------------------- /cmd/plan.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boringSQL/regresql/HEAD/cmd/plan.go -------------------------------------------------------------------------------- /cmd/root.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boringSQL/regresql/HEAD/cmd/root.go -------------------------------------------------------------------------------- /cmd/snapshot.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boringSQL/regresql/HEAD/cmd/snapshot.go -------------------------------------------------------------------------------- /cmd/test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boringSQL/regresql/HEAD/cmd/test.go -------------------------------------------------------------------------------- /cmd/update.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boringSQL/regresql/HEAD/cmd/update.go -------------------------------------------------------------------------------- /cmd/utils.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boringSQL/regresql/HEAD/cmd/utils.go -------------------------------------------------------------------------------- /cmd/version.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boringSQL/regresql/HEAD/cmd/version.go -------------------------------------------------------------------------------- /examples/fixtures/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boringSQL/regresql/HEAD/examples/fixtures/README.md -------------------------------------------------------------------------------- /examples/fixtures/regresql/fixtures/categories.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boringSQL/regresql/HEAD/examples/fixtures/regresql/fixtures/categories.yaml -------------------------------------------------------------------------------- /examples/fixtures/regresql/fixtures/customers_base.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boringSQL/regresql/HEAD/examples/fixtures/regresql/fixtures/customers_base.yaml -------------------------------------------------------------------------------- /examples/fixtures/regresql/fixtures/products.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boringSQL/regresql/HEAD/examples/fixtures/regresql/fixtures/products.yaml -------------------------------------------------------------------------------- /examples/fixtures/regresql/fixtures/products_advanced.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boringSQL/regresql/HEAD/examples/fixtures/regresql/fixtures/products_advanced.yaml -------------------------------------------------------------------------------- /examples/fixtures/regresql/fixtures/sql/insert_categories.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boringSQL/regresql/HEAD/examples/fixtures/regresql/fixtures/sql/insert_categories.sql -------------------------------------------------------------------------------- /examples/fixtures/regresql/fixtures/sql/insert_users.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boringSQL/regresql/HEAD/examples/fixtures/regresql/fixtures/sql/insert_users.sql -------------------------------------------------------------------------------- /examples/fixtures/regresql/fixtures/users.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boringSQL/regresql/HEAD/examples/fixtures/regresql/fixtures/users.yaml -------------------------------------------------------------------------------- /examples/fixtures/regresql/fixtures/users_advanced.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boringSQL/regresql/HEAD/examples/fixtures/regresql/fixtures/users_advanced.yaml -------------------------------------------------------------------------------- /examples/fixtures/regresql/fixtures/users_identity.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boringSQL/regresql/HEAD/examples/fixtures/regresql/fixtures/users_identity.yaml -------------------------------------------------------------------------------- /examples/fixtures/regresql/fixtures/users_sql.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boringSQL/regresql/HEAD/examples/fixtures/regresql/fixtures/users_sql.yaml -------------------------------------------------------------------------------- /examples/fixtures/schema.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boringSQL/regresql/HEAD/examples/fixtures/schema.sql -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boringSQL/regresql/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boringSQL/regresql/HEAD/go.sum -------------------------------------------------------------------------------- /main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boringSQL/regresql/HEAD/main.go -------------------------------------------------------------------------------- /regresql/baseline.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boringSQL/regresql/HEAD/regresql/baseline.go -------------------------------------------------------------------------------- /regresql/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boringSQL/regresql/HEAD/regresql/config.go -------------------------------------------------------------------------------- /regresql/config_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boringSQL/regresql/HEAD/regresql/config_test.go -------------------------------------------------------------------------------- /regresql/db.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boringSQL/regresql/HEAD/regresql/db.go -------------------------------------------------------------------------------- /regresql/diff.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boringSQL/regresql/HEAD/regresql/diff.go -------------------------------------------------------------------------------- /regresql/diff_semantic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boringSQL/regresql/HEAD/regresql/diff_semantic.go -------------------------------------------------------------------------------- /regresql/doc.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boringSQL/regresql/HEAD/regresql/doc.go -------------------------------------------------------------------------------- /regresql/fixture.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boringSQL/regresql/HEAD/regresql/fixture.go -------------------------------------------------------------------------------- /regresql/fixture_errors.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boringSQL/regresql/HEAD/regresql/fixture_errors.go -------------------------------------------------------------------------------- /regresql/fixture_manager.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boringSQL/regresql/HEAD/regresql/fixture_manager.go -------------------------------------------------------------------------------- /regresql/formatter_console.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boringSQL/regresql/HEAD/regresql/formatter_console.go -------------------------------------------------------------------------------- /regresql/formatter_github.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boringSQL/regresql/HEAD/regresql/formatter_github.go -------------------------------------------------------------------------------- /regresql/formatter_json.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boringSQL/regresql/HEAD/regresql/formatter_json.go -------------------------------------------------------------------------------- /regresql/formatter_junit.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boringSQL/regresql/HEAD/regresql/formatter_junit.go -------------------------------------------------------------------------------- /regresql/formatter_pgtap.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boringSQL/regresql/HEAD/regresql/formatter_pgtap.go -------------------------------------------------------------------------------- /regresql/formatters.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boringSQL/regresql/HEAD/regresql/formatters.go -------------------------------------------------------------------------------- /regresql/generator.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boringSQL/regresql/HEAD/regresql/generator.go -------------------------------------------------------------------------------- /regresql/generators_basic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boringSQL/regresql/HEAD/regresql/generators_basic.go -------------------------------------------------------------------------------- /regresql/generators_fk.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boringSQL/regresql/HEAD/regresql/generators_fk.go -------------------------------------------------------------------------------- /regresql/generators_pattern.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boringSQL/regresql/HEAD/regresql/generators_pattern.go -------------------------------------------------------------------------------- /regresql/generators_range.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boringSQL/regresql/HEAD/regresql/generators_range.go -------------------------------------------------------------------------------- /regresql/generators_template.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boringSQL/regresql/HEAD/regresql/generators_template.go -------------------------------------------------------------------------------- /regresql/ignore.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boringSQL/regresql/HEAD/regresql/ignore.go -------------------------------------------------------------------------------- /regresql/library.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boringSQL/regresql/HEAD/regresql/library.go -------------------------------------------------------------------------------- /regresql/plan_analysis.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boringSQL/regresql/HEAD/regresql/plan_analysis.go -------------------------------------------------------------------------------- /regresql/plan_comparison.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boringSQL/regresql/HEAD/regresql/plan_comparison.go -------------------------------------------------------------------------------- /regresql/plan_quality.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boringSQL/regresql/HEAD/regresql/plan_quality.go -------------------------------------------------------------------------------- /regresql/plans.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boringSQL/regresql/HEAD/regresql/plans.go -------------------------------------------------------------------------------- /regresql/regresql.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boringSQL/regresql/HEAD/regresql/regresql.go -------------------------------------------------------------------------------- /regresql/regress.yaml: -------------------------------------------------------------------------------- 1 | pguri: postgres://labs_app:can123do@192.168.139.28/users_demo 2 | root: . 3 | -------------------------------------------------------------------------------- /regresql/resultset.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boringSQL/regresql/HEAD/regresql/resultset.go -------------------------------------------------------------------------------- /regresql/schema.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boringSQL/regresql/HEAD/regresql/schema.go -------------------------------------------------------------------------------- /regresql/snapshot.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boringSQL/regresql/HEAD/regresql/snapshot.go -------------------------------------------------------------------------------- /regresql/snapshot_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boringSQL/regresql/HEAD/regresql/snapshot_test.go -------------------------------------------------------------------------------- /regresql/sql.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boringSQL/regresql/HEAD/regresql/sql.go -------------------------------------------------------------------------------- /regresql/sql_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boringSQL/regresql/HEAD/regresql/sql_test.go -------------------------------------------------------------------------------- /regresql/suite.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boringSQL/regresql/HEAD/regresql/suite.go -------------------------------------------------------------------------------- /regresql/tap.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boringSQL/regresql/HEAD/regresql/tap.go --------------------------------------------------------------------------------