Skip to content

Conversation

@remyleone
Copy link
Member

Community Note

  • Please vote on this pull request by adding a 👍 reaction to the original pull request comment to help the community and maintainers prioritize this request.
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for pull request followers and do not help prioritize the request

Relates OR Closes #0000

Release note for CHANGELOG:


@remyleone remyleone marked this pull request as draft July 3, 2020 11:43
@remyleone remyleone self-assigned this Jul 3, 2020
@remyleone remyleone marked this pull request as ready for review July 3, 2020 11:59

const (
Unknown = engineFamily("Unknown")
PostgreSQL = engineFamily("PostgreSQL")
Copy link
Contributor

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 ?

Copy link
Member Author

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) {
Copy link
Contributor

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

@remyleone remyleone merged commit 59677b5 into scaleway:v2 Jul 13, 2020
@remyleone remyleone deleted the rdb_connect branch July 13, 2020 09:52
@remyleone remyleone added the rdb Managed MySQL and PostgreSQL issues, bugs and feature requests label Jul 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

rdb Managed MySQL and PostgreSQL issues, bugs and feature requests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a cookbook method to connect without password when the connect is implemented Add a connect verb for a database

2 participants