* DBModeler/SQLGenerator.m

* Tools/eoutil.m: change Postgres to PostgreSQL.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@23547 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Matt Rice 2006-09-17 15:41:22 +00:00
parent 4394a323d0
commit 7c3e947f68
3 changed files with 12 additions and 7 deletions

View file

@ -1,3 +1,8 @@
2006-09-17 Matt Rice <ratmice@yahoo.com>
* DBModeler/SQLGenerator.m
* Tools/eoutil.m: change Postgres to PostgreSQL.
2006-09-16 Matt Rice <ratmice@yahoo.com> 2006-09-16 Matt Rice <ratmice@yahoo.com>
* EOAccess/EOModel.m (writeToFile:): Use the default permissions * EOAccess/EOModel.m (writeToFile:): Use the default permissions

View file

@ -182,7 +182,7 @@ static NSString *_otherScript;
channel = [context createAdaptorChannel]; channel = [context createAdaptorChannel];
if (_adminScript && [_adminScript length] if (_adminScript && [_adminScript length]
&& [[connDict objectForKey:@"adaptorName"] isEqual:@"PostgresEOAdaptor"]) && [[connDict objectForKey:@"adaptorName"] isEqual:@"PostgreSQLEOAdaptor"])
{ {
NSMutableDictionary *tmp = RETAIN([NSMutableDictionary dictionaryWithDictionary:connDict]); NSMutableDictionary *tmp = RETAIN([NSMutableDictionary dictionaryWithDictionary:connDict]);
[tmp setObject:@"template1" forKey:@"databaseName"]; [tmp setObject:@"template1" forKey:@"databaseName"];

View file

@ -138,15 +138,15 @@ usage(BOOL fullUsage)
"\tset to connectionDictionary.\n" "\tset to connectionDictionary.\n"
"\n" "\n"
"\t model -- must be the name of an eomodel or eomodeld file\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 connectionDictionary -- string in property list format representing a\n"
"\t dictionary, specifying the database name for the\n" "\t dictionary, specifying the database name for the\n"
"\t data source (required) and username and password (if\n" "\t data source (required) and username and password (if\n"
"\t required by that data source).\n" "\t required by that data source).\n"
"\t outFileName -- the name of a directory to write the converted model\n" "\t outFileName -- the name of a directory to write the converted model\n"
"\n" "\n"
"\tExample: eoutil convert Movies.eomodeld Postgres '{ databaseName = test; hostName = localhost; userName = postgres; password = postgres; }' M.eomodeld\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 Postgres types and writes\n" "\t Converts types in Movies.eomodeld file to PostgreSQL types and writes\n"
"\t the converted model to ./M.eomodel\n" "\t the converted model to ./M.eomodel\n"
"\n" "\n"
" eoutil connect (<model> | (<adaptorName> <connectionDictionary>))\n" " eoutil connect (<model> | (<adaptorName> <connectionDictionary>))\n"
@ -156,14 +156,14 @@ usage(BOOL fullUsage)
"\tprimarily useful for scripts.\n" "\tprimarily useful for scripts.\n"
"\n" "\n"
"\t model -- must be the name of an eomodel or eomodeld file\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 connectionDictionary -- string in property list format representing a\n"
"\t dictionary, specifying the database name for the\n" "\t dictionary, specifying the database name for the\n"
"\t data source (required) and username and password (if\n" "\t data source (required) and username and password (if\n"
"\t required by that data source).\n" "\t required by that data source).\n"
"\n" "\n"
"\tExample: eoutil connect Postgres '{ databaseName = test; hostName = localhost; userName = postgres; password = postgres; }'\n" "\tExample: eoutil connect PostgreSQL '{ databaseName = test; hostName = localhost; userName = postgres; password = postgres; }'\n"
"\t Attempts to connect to a Postgres database on host localhost.\n" "\t Attempts to connect to a PostgreSQL database on host localhost.\n"
"\n" "\n"
" eoutil help\n" " eoutil help\n"
"\tPrints this text.\n" "\tPrints this text.\n"