diff --git a/src/main/java/com/google/cloud/spanner/pgadapter/metadata/OptionsMetadata.java b/src/main/java/com/google/cloud/spanner/pgadapter/metadata/OptionsMetadata.java index 36109ce96..b9cc3f30f 100644 --- a/src/main/java/com/google/cloud/spanner/pgadapter/metadata/OptionsMetadata.java +++ b/src/main/java/com/google/cloud/spanner/pgadapter/metadata/OptionsMetadata.java @@ -827,7 +827,8 @@ public DatabaseName getDatabaseName(String database) { throw SpannerExceptionFactory.newSpannerException( ErrorCode.FAILED_PRECONDITION, "The database name does not include an instance ID, and there is no default instance ID in the command line arguments of PGAdapter. " - + "Either start PGAdapter with the -i command line argument, or specify the database as a fully qualified database name in the format 'projects/my-project/instances/my-instance/database/my-database'."); + + "Either start PGAdapter with the -i command line argument, or specify the database as a fully qualified database " + + "name in the format 'projects/my-project/instances/my-instance/databases/my-database'."); } databaseName = DatabaseName.newBuilder()