diff --git a/ChangeLog b/ChangeLog index ff73953..8e081c8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-09-17 Matt Rice + + * DBModeler/SQLGenerator.m + * Tools/eoutil.m: change Postgres to PostgreSQL. + 2006-09-16 Matt Rice * EOAccess/EOModel.m (writeToFile:): Use the default permissions diff --git a/DBModeler/SQLGenerator.m b/DBModeler/SQLGenerator.m index 7fffc2b..8f89781 100644 --- a/DBModeler/SQLGenerator.m +++ b/DBModeler/SQLGenerator.m @@ -182,7 +182,7 @@ static NSString *_otherScript; channel = [context createAdaptorChannel]; if (_adminScript && [_adminScript length] - && [[connDict objectForKey:@"adaptorName"] isEqual:@"PostgresEOAdaptor"]) + && [[connDict objectForKey:@"adaptorName"] isEqual:@"PostgreSQLEOAdaptor"]) { NSMutableDictionary *tmp = RETAIN([NSMutableDictionary dictionaryWithDictionary:connDict]); [tmp setObject:@"template1" forKey:@"databaseName"]; diff --git a/Tools/eoutil.m b/Tools/eoutil.m index b3dd6db..52c770d 100644 --- a/Tools/eoutil.m +++ b/Tools/eoutil.m @@ -138,15 +138,15 @@ usage(BOOL fullUsage) "\tset to connectionDictionary.\n" "\n" "\t model -- must be the name of an eomodel or eomodeld file\n" - "\t adaptorName -- Postgres, FlatFile, etc.\n" + "\t adaptorName -- PostgreSQL, FlatFile, etc.\n" "\t connectionDictionary -- string in property list format representing a\n" "\t dictionary, specifying the database name for the\n" "\t data source (required) and username and password (if\n" "\t required by that data source).\n" "\t outFileName -- the name of a directory to write the converted model\n" "\n" - "\tExample: eoutil convert Movies.eomodeld Postgres '{ databaseName = test; hostName = localhost; userName = postgres; password = postgres; }' M.eomodeld\n" - "\t Converts types in Movies.eomodeld file to Postgres types and writes\n" + "\tExample: eoutil convert Movies.eomodeld PostgreSQL '{ databaseName = test; hostName = localhost; userName = postgres; password = postgres; }' M.eomodeld\n" + "\t Converts types in Movies.eomodeld file to PostgreSQL types and writes\n" "\t the converted model to ./M.eomodel\n" "\n" " eoutil connect ( | ( ))\n" @@ -156,14 +156,14 @@ usage(BOOL fullUsage) "\tprimarily useful for scripts.\n" "\n" "\t model -- must be the name of an eomodel or eomodeld file\n" - "\t adaptorName -- Postgres, FlatFile, etc.\n" + "\t adaptorName -- PostgreSQL, FlatFile, etc.\n" "\t connectionDictionary -- string in property list format representing a\n" "\t dictionary, specifying the database name for the\n" "\t data source (required) and username and password (if\n" "\t required by that data source).\n" "\n" - "\tExample: eoutil connect Postgres '{ databaseName = test; hostName = localhost; userName = postgres; password = postgres; }'\n" - "\t Attempts to connect to a Postgres database on host localhost.\n" + "\tExample: eoutil connect PostgreSQL '{ databaseName = test; hostName = localhost; userName = postgres; password = postgres; }'\n" + "\t Attempts to connect to a PostgreSQL database on host localhost.\n" "\n" " eoutil help\n" "\tPrints this text.\n"