Thread: pg_dump Segmentation fault(core dumped)

pg_dump Segmentation fault(core dumped)

From
"Vadim I. Passynkov"
Date:
Hi All,

pg_dump -o mydb

CREATE TABLE pgdump_oid (dummy int4);
COPY pgdump_oid WITH OIDS FROM stdin;
19915066        0
\.
DROP TABLE pgdump_oid;
PQgetvalue: ERROR! tuple number 0 is out of range 0..-1
Segmentation fault(core dumped)

What it means, and how realy dump database.
--

 Vadim I. Passynkov, Axxent Corp.
 mailto:vip@axxent.ca

Re: pg_dump Segmentation fault(core dumped)

From
Gena Gurchonok
Date:
Hello

> pg_dump -o mydb
> ...
> What it means, and how realy dump database.

To dump:
pg_dump -o mydb > dump_file

To restore:
createdb mydb
psql mydb <dump_file


Gena