mirror of
https://github.com/gnustep/libs-gdl2.git
synced 2025-02-19 09:40:59 +00:00
* 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:
parent
4394a323d0
commit
7c3e947f68
3 changed files with 12 additions and 7 deletions
|
@ -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>
|
||||
|
||||
* EOAccess/EOModel.m (writeToFile:): Use the default permissions
|
||||
|
|
|
@ -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"];
|
||||
|
|
|
@ -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 (<model> | (<adaptorName> <connectionDictionary>))\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"
|
||||
|
|
Loading…
Reference in a new issue