Re: Backup command and functions can cause assertion failure and segmentation fault

Kyotaro Horiguchi <horikyota.ntt@gmail.com>

From: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
To: masao.fujii@oss.nttdata.com
Cc: pgsql-hackers@lists.postgresql.org
Date: 2022-07-01T02:56:14Z
Lists: pgsql-hackers
At Fri, 01 Jul 2022 11:46:53 +0900 (JST), Kyotaro Horiguchi <horikyota.ntt@gmail.com> wrote in 
> Please find the attached.

Mmm. It forgot the duplicate-call prevention and query-cancel
handling... The first one is the same as you posted but the second one
is still a problem..

regards.

-- 
Kyotaro Horiguchi
NTT Open Source Software Center



Commits

  1. Add more TAP tests with BASE_BACKUP and pg_backup_start/stop

  2. Fix assertion failure and segmentation fault in backup code.

  3. Prevent BASE_BACKUP in the middle of another backup in the same session.