This crash on startup of psql (6.4.2 rev) doesn't happen when I use psql
-n to not use the readline library ... but I have readline installed (RH
Linux 5.2, readline-2.2.1-1) and libreadline.so.3 and .so are in
/usr/lib ... (and am not getting "missing libreadline" error, it just
crashes on startup w/o -n option.)
Any suggestions?
thanks,
--Michael
Michael Olivier wrote:
>
> Hi folks,
>
> I've upgrading from 6.3.2 to 6.4.2 (the -3.i386.rpm version) since there
> aren't RPM's yet for -data and -devel pieces of 6.5 ... and am getting
> core dumps in 'psql' just after it starts up.
>
> As per the admin documentation, I run 'postmaster -i' as postgres user
> in one shell. In another shell I can do a createdb fine, but trying to
> open it or template1 gets me a quick core dump:
>
> -----------------
> > psql template1
>
> Welcome to the POSTGRESQL interactive sql monitor:
> Please read the file COPYRIGHT for copyright terms of POSTGRESQL
>
> type \? for help on slash commands
> type \q to quit
> type \g or terminate with semicolon to execute query
> You are currently connected to the database: template1
>
> Segmentation fault (core dumped)
> ----------------
>
> Help! I don't see this in the FAQ or anywhere else. I can use a psql
> remotely from another machine running 6.3.2 version and that seems to
> work, so far. Any immediate suggestions greatly appreciated.
>
> TIA,
> --Michael