Re: Segmentation Fault during database restoration - Mailing list pgsql-general

From Tom Lane
Subject Re: Segmentation Fault during database restoration
Date
Msg-id 5111.1253155785@sss.pgh.pa.us
Whole thread Raw
In response to Segmentation Fault during database restoration  (Sulman Sarwar <sulmansarwar@gmail.com>)
List pgsql-general
Sulman Sarwar <sulmansarwar@gmail.com> writes:
> I am new to PostgreSQL. I have been trying to restore a compressed(.gz)
> database using
> gunzip -c *filename*.gz | psql *dbname*
> After some 8 or 9 tables are restored the program exists giving error:
> Segmentation Fault.

That's weird ... gets_fromFile certainly looks pretty bulletproof from
here.  Can you extract a self-contained test case?  Also, did you build
the psql executable yourself, or get it from somewhere else, and if so
where?

            regards, tom lane

pgsql-general by date:

Previous
From: "Vikram Patil"
Date:
Subject: Re: Regarding initdb & pg_ctl
Next
From: Tom Lane
Date:
Subject: Re: wrong error from ./configure in pgsql 8.3.8 for libxml