Glyn Astill <glynastill@yahoo.co.uk> writes:
> I've just recompiled again after configuring with --enable-debug, and for completeness here's all the output from
gdb:
> # gdb /usr/pgsql_src/postgresql-8.3.3/src/test/regress/tmp_check/install/usr/local/pgsql/bin/initdb core
Well, there's part of your problem: the program that is crashing is not
initdb. Specify the postgres executable, instead. Note the
> warning: core file may not match specified executable file.
> Core was generated by `/usr/pgsql_src/postgresql-8.3.3/src/test/regress/tmp_check/install/usr/local/pg'.
though this is evidently getting confused by the overly long path,
so you might still see the warning even after picking the right
executable.
regards, tom lane