Magnus Hagander <mag...@hagander.net> writes: >>> Or add a signal >>> handler in the pg_basebackup client emitting a warning about it? >> >> We don't have such a signal handler pg_dump either. I don't think we should >> add it. > > Hmm. I guess an aborted pg_dump will also "look ok but actually be > corrupt" (or incomplete). Good point.
What about having the signal handler corrupt the backup by adding some garbage into it? Now the failure case is obvious… Regards, -- Dimitri Fontaine http://2ndQuadrant.fr PostgreSQL : Expertise, Formation et Support -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers