Update ParseVersion function in PGDump client

This commit is contained in:
Luis Eduardo Jeréz Girón
2024-07-20 22:22:26 -06:00
parent d90f65585b
commit b179a7266c

View File

@@ -47,7 +47,7 @@ func New() *Client {
// ParseVersion returns the PGVersion enum member for the given PostgreSQL
// version as a string.
func ParseVersion(version string) (PGVersion, error) {
func (Client) ParseVersion(version string) (PGVersion, error) {
switch version {
case "13":
return PG13, nil