pgschema
pgschema copied to clipboard
Support CockroachDB (PostgreSQL wire protocol)
I’m trying to use pgschema with CockroachDB, which supports the PostgreSQL wire protocol and is commonly used as a PostgreSQL-compatible distributed database.
CockroachDB version output:
SELECT version();
-- CockroachDB CCL v25.4.1-1-g55e9e9d822f (x86_64-pc-linux-gnu, built 2025/12/16 19:50:28, go1.23.12 X:nocoverageredesign)
SHOW server_version_num;
-- 130000
When connecting to CockroachDB, pgschema fails during PostgreSQL version detection with the following error:
Error: failed to detect PostgreSQL version: unsupported PostgreSQL version 13 (supported: 14-18)
No plan to support those not that compatible.
https://github.com/secp256k1-sha256/postgres-compatibility-index