"Patrick Bye (WFF)" <PBYE@Westfair.CA> writes:
> I did build postgres myself using the simple installation instructions
> provided on the website
> configure
> gmake
> gmake install
Hm, that should work. What do you get from "ldd" on the psql executable?
> How do I do a stack trace?
If you aren't getting a core file from the segfault, try "ulimit -c unlimited".
Once you have a core file, do
gdb /path/to/psql core
gdb> bt
gdb> quit
The trace will be a lot more informative if you first rebuild with
debugging support (configure --enable-debug, then gmake clean all install).
regards, tom lane