createdb argument question

Поиск
Список
Период
Сортировка
Искать
От
Perry Smith
Тема
createdb argument question
Дата
Msg-id
45449C78-AAD0-47C9-9689-0465054C80DD@easesoftware.com
Список
Дерево обсуждения
createdb argument question Perry Smith <pedz@easesoftware.com>
Re: createdb argument question Michael Glaesemann <grzm@seespotcode.net>
Re: createdb argument question Tom Lane <tgl@sss.pgh.pa.us>
Re: createdb argument question Perry Smith <pedz@easesoftware.com>
Re: createdb argument question Seneca Cunningham <tentra@gmail.com>
Re: createdb argument question Perry Smith <pedz@easesoftware.com>
Re: createdb argument question Gregory Stark <stark@enterprisedb.com>
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 bumped in to this?  Is putting the arguments after  
the database name known to work?  Looking at the code, it seems  
rather magical that it works but I just looked at the main routine in  
createdb.c and not the routines it calls.

Thank you for your help,
Perry

В списке pgsql-general по дате отправления
От: Shane Ambler
Дата:
Сообщение: Re: Selecting tree data
От: Harpreet Dhaliwal
Дата:
FAQ