Re: Segmentation Fault during database restoration

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Sulman Sarwar <sulmansarwar(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Segmentation Fault during database restoration
Date: 2009-09-17 02:49:45
Message-ID: 5111.1253155785@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Sulman Sarwar <sulmansarwar(at)gmail(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2009-09-17 02:57:29 Re: wrong error from ./configure in pgsql 8.3.8 for libxml
Previous Message Vikram Patil 2009-09-17 00:55:39 Re: Regarding initdb & pg_ctl