-
Notifications
You must be signed in to change notification settings - Fork 156
rdb: add instance connect #1170
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
|
||
| const ( | ||
| Unknown = engineFamily("Unknown") | ||
| PostgreSQL = engineFamily("PostgreSQL") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should it exist in rdb API ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nlm What do you think about having const in your API about the kind of engine a given instance is running? Without the version, ie PostgreSQL instead of PostgreSQL-12.
| } | ||
| } | ||
|
|
||
| func detectEngineFamily(instance *rdb.Instance) (engineFamily, error) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I feel like this feature should be in the RDB api
Community Note
Relates OR Closes #0000
Release note for CHANGELOG: