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