[HACKERS] who can help me?

2003-03-17 Thread Jinqiang Han
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

Re: [HACKERS] who can help me?

2003-03-17 Thread Rod Taylor
gdb doesn't like dealing with arguments (for me anyway). Try setting the data directory via the PGDATA environment variable. On Mon, 2003-03-17 at 04:35, Jinqiang Han wrote: Hi, all hackers, I can startup database using command /usr/local/pgsql/bin/postmaster -D /usr/local/pgsql/data. But

Re: [HACKERS] who can help me?

2003-03-17 Thread Bruno Wolff III
On Mon, Mar 17, 2003 at 17:35:10 +0800, Jinqiang Han [EMAIL PROTECTED] 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

Re: [HACKERS] who can help me?

2003-03-17 Thread Bruno Wolff III
On Tue, Mar 18, 2003 at 09:02:51 +0800, Jinqiang Han [EMAIL PROTECTED] wrote: Bruno Wolff III, Did you notice that postmaster is a link to postgres. So argv[0] is postgres not postmaster... I wonder if postmaster.c is still in use. It is really weird. argv[0] gets set from