| From: | Bruno Wolff III <bruno(at)wolff(dot)to> |
|---|---|
| To: | Jinqiang Han <postgresql(at)db(dot)pku(dot)edu(dot)cn> |
| Cc: | "pgsql-hackers (at) postgresql(dot) org" <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: who can help me? |
| Date: | 2003-03-17 14:01:45 |
| Message-ID: | 20030317140145.GC19079@wolff.to |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On Mon, Mar 17, 2003 at 17:35:10 +0800,
Jinqiang Han <postgresql(at)db(dot)pku(dot)edu(dot)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.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2003-03-17 14:09:22 | Re: Current CVS compile problem |
| Previous Message | Bruno Wolff III | 2003-03-17 13:26:50 | Re: ALTER USER |