buildRedshiftVersionString builds the Redshift version string, format is "Redshift based on PostgreSQL ".
(redshiftVersion, postgresVersion string)
| 717 | |
| 718 | // buildRedshiftVersionString builds the Redshift version string, format is "Redshift <redshiftVersion> based on PostgreSQL <postgresVersion>". |
| 719 | func buildRedshiftVersionString(redshiftVersion, postgresVersion string) string { |
| 720 | return "Redshift " + redshiftVersion + " based on PostgreSQL " + postgresVersion |
| 721 | } |
| 722 | |
| 723 | // getDatabases gets all databases of an instance. |
| 724 | func (d *Driver) getDatabases(ctx context.Context) ([]*storepb.DatabaseSchemaMetadata, error) { |