Re: [BUGS] pg_dump's results have quite different size - Mailing list pgsql-bugs

From Oleksandr Shulgin
Subject Re: [BUGS] pg_dump's results have quite different size
Date
Msg-id CACACo5QRXyxKc6hm=mDNAQeS=bWa99u8odAGVv_mGEqNephPXQ@mail.gmail.com
Whole thread Raw
In response to Re: [BUGS] pg_dump's results have quite different size  (Kaijiang Chen <chenkaijiang@gmail.com>)
Responses Re: [BUGS] pg_dump's results have quite different size
List pgsql-bugs
On Wed, Dec 14, 2016 at 9:29 AM, Kaijiang Chen <chenkaijiang@gmail.com> wrote:
Yes. The pg_dump quits with the message:

pg_dump: Dumping the contents of table "data_histories" failed: PQgetResult() failed.
pg_dump: Error message from server: ERROR:  canceling statement due to conflict with recovery
DETAIL:  User query might have needed to see row versions that must be removed.
pg_dump: The command was: COPY public.data_histories (id, user_id, user_name, type, type_id, old_data, action, new_data, created_at, updated_at) TO stdout;

Ah, then it's just that your backup script is broken: it should have reported the error.

Please do not top-post.
--
Alex

pgsql-bugs by date:

Previous
From: Kaijiang Chen
Date:
Subject: Re: [BUGS] pg_dump's results have quite different size
Next
From: Tom Lane
Date:
Subject: Re: [BUGS] BUG #14466: can with recursive query add LOOPth variable?