crossplane-contrib / crossplane-contrib/provider-sql

Support server version detection for MSSQL+MySQL

Open
#374 0 comments 0 reactions 1 assignee Claimed by @fernandezcuesta View on GitHub
enhancement
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.