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 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?
>
> Thanks a lot.
>
> Jinqiang Han
>
>
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
--
Rod Taylor <rbt@rbt.ca>
PGP Key: http://www.rbt.ca/rbtpub.asc