crossplane-contrib / crossplane-contrib/provider-sql
Support server version detection for MSSQL+MySQL
- Dominant language
- Go
- Stars
- 154
- Forks
- 119
- Avg merge
- 6d 17h
- Merged PRs (30d)
- 8
Description
### What problem are you facing?
In [749c80a](https://github.com/crossplane-contrib/provider-sql/commit/749c80a) we added the ability to filter privileges based on PostgreSQL server version (e.g., the `MAINTAIN` privilege is only available in PG 17+).
The reconcilers call `GetServerVersion()` during `Connect()` and pass the version to privilege expansion functions.
Both MySQL and MSSQL had `GetServerVersion` added to satisfy the `xsql.DB` interface, but the implementations were no-ops.
### How could Crossplane help solve your problem?
Real `GetServerVersion` implementations to allow a similar experience for MSSQL and MySQL.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.