-
Notifications
You must be signed in to change notification settings - Fork 80
Add compatibility with CockroachDB #91
Comments
CRDB returns the following
|
Hi @stevecookform3 , thanks for opening this issue. We could fix the version detection but the problem is that we need a "Postgresql" version to determine which features are enabled or not (see https://github.com/terraform-providers/terraform-provider-postgresql/blob/master/postgresql/config.go#L42-L73) I don't know CockroachDB at all yet, is there some kind of compatibility mapping ? (Like version X of CockroachDB is compatible with version Y of Postgresql) Meanwhile, in the next version of this provider (which will be released in the next days), you should be able to set the However, I don't known CockroachDB and I don't know what's the compatibility |
being able to override this with expected_version sounds like a good workaround for now. |
Thanks for your answer. I close this issue for now. |
Cockroachdb (https://github.com/cockroachdb/cockroach) is compatible with the postgres protocol, however the provider currently fails validating the versions
Error initializing PostgreSQL client: error detecting capabilities: error parsing version: Invalid character(s) found in major number "CCL"
Probably just requires tweaking in https://github.com/terraform-providers/terraform-provider-postgresql/blob/master/postgresql/config.go
The text was updated successfully, but these errors were encountered: