Skip to content

sql: expose a virtual table with cockroachdb-specific version information #14142

Closed
@knz

Description

@knz

Currently our SQL-level version reporting only advertises "this is postgresql".
There is no way for a SQL client to be sure that they are connected to CockroachDB.

There should be a feature for clients to check whether they are running against CockroachDB.

Currently this can be approximated by running show tables from crdb_internal but that only says "this si CockroachDB" and does not report the version.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions