Re: [GENERAL] createdb argument question

2007-10-28 Thread Perry Smith
On Oct 27, 2007, at 3:02 PM, Seneca Cunningham wrote: On Sat, Oct 27, 2007 at 12:56:37PM -0500, Perry Smith wrote: On my Mac systems, this work. On my AIX system it does not. I get: createdb dog -E utf8 createdb: too many command-line arguments (first is utf8) Try createdb --help for more

Re: [GENERAL] createdb argument question

2007-10-28 Thread Gregory Stark
Perry Smith [EMAIL PROTECTED] writes: The getopt_long on Mac and I guess also Linux have been made non- Posix compliant. They accept options after the non-option argument. What is really disturbing is they alter argv. I find that somewhat a bad idea but, I guess no one really cares

[GENERAL] createdb argument question

2007-10-27 Thread Perry Smith
For some odd reason, Rails decided to call createdb as: createdb foo_database -E utf8 On my Mac systems, this work. On my AIX system it does not. I get: createdb dog -E utf8 createdb: too many command-line arguments (first is utf8) Try createdb --help for more information. Has anyone else

Re: [GENERAL] createdb argument question

2007-10-27 Thread Michael Glaesemann
On Oct 27, 2007, at 12:56 , Perry Smith wrote: On my Mac systems, this work. On my AIX system it does not. I get: Versions? Michael Glaesemann grzm seespotcode net ---(end of broadcast)--- TIP 9: In versions below 8.0, the planner will

Re: [GENERAL] createdb argument question

2007-10-27 Thread Perry Smith
On Oct 27, 2007, at 1:41 PM, Michael Glaesemann wrote: On Oct 27, 2007, at 12:56 , Perry Smith wrote: On my Mac systems, this work. On my AIX system it does not. I get: Versions? My AIX is 5.3 close to the latest. Postgres is 8.2.4 I built all of the open source stuff myself using

Re: [GENERAL] createdb argument question

2007-10-27 Thread Tom Lane
Michael Glaesemann [EMAIL PROTECTED] writes: On Oct 27, 2007, at 12:56 , Perry Smith wrote: On my Mac systems, this work. On my AIX system it does not. I get: Versions? I think the old shell-script version of createdb, in 7.3 and before, might have taken that ordering of arguments ...

Re: [GENERAL] createdb argument question

2007-10-27 Thread Seneca Cunningham
On Sat, Oct 27, 2007 at 12:56:37PM -0500, Perry Smith wrote: On my Mac systems, this work. On my AIX system it does not. I get: createdb dog -E utf8 createdb: too many command-line arguments (first is utf8) Try createdb --help for more information. Has anyone else bumped in to this? Is