Skip site navigation (1) Skip section navigation (2)

Re: psql crashes with bad history file in 9.0.3

From: John R Pierce <pierce(at)hogranch(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: Re: psql crashes with bad history file in 9.0.3
Date: 2011-03-22 20:56:48
Message-ID: 4D890D10.8030302@hogranch.com (view raw or flat)
Thread:
Lists: pgsql-bugs
On 03/22/11 1:40 PM, Josh Berkus wrote:
> All,
>
> At two sites I'm not allowed to share data from (grrr), I've encountered
> core dumps of psql.  In once case the core dump happens as soon as you
> run any query.   In the second case, it occurs when you exit.
>
> What both sites have in common is that there's something screwy about
> the .psql_history file.  In the first case, moving the history file
> fixed the issue.  In the second case, the shell user has messed up
> permissions on their home dir and can't save the history file.
>
> I'd never encountered this before 9.0.3.  Both sites are RHEL.
>
> Hopefully I'll run into it somewhere I can do a stack trace ...

sounds like a readline problem



In response to

pgsql-bugs by date

Next:From: Etienne RobillardDate: 2011-03-22 22:23:04
Subject: Re: BUG #5937: initdb: FATAL error: could not open relation with OID 2608
Previous:From: Josh BerkusDate: 2011-03-22 20:40:59
Subject: psql crashes with bad history file in 9.0.3

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group