Re: who can help me?

Поиск
Список
Период
Сортировка
От Bruno Wolff III
Тема Re: who can help me?
Дата
Msg-id 20030317140145.GC19079@wolff.to
обсуждение исходный текст
Ответ на who can help me?  ("Jinqiang Han" <postgresql@db.pku.edu.cn>)
Список pgsql-hackers
On Mon, Mar 17, 2003 at 17:35:10 +0800, Jinqiang Han <postgresql@db.pku.edu.cn> wrote:
> Hi, all hackers,
> I can startup database using command "/usr/local/pgsql/bin/postmaster -D /usr/local/pgsql/data".
> But when I debug it using gdb and set args -D /usr/local/pgsql/data, it can't startup database. it says;
> FATAL:  Database "postgres" does not exist in the system catalog.
> 
> Is there any difference between them?

I think postmaster checks what its name is (from argv[0]) and runs differently
depending on what it is. If there is an option to gdb to set arg 0, try using
it to set it to postmaster.


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Bruno Wolff III
Дата:
Сообщение: Re: ALTER USER
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Current CVS compile problem