pg_dump Segmentation fault(core dumped)

Started by Vadim I. Passynkovabout 25 years ago2 messagesbugs
Jump to latest

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

#2Gena Gurchonok
gena@rt.mipt.ru
In reply to: Vadim I. Passynkov (#1)
Re: pg_dump Segmentation fault(core dumped)

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