diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2022-10-24 12:02:33 +0200 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2022-10-24 12:02:33 +0200 |
commit | 8328a15f8f95cad3fa99bbab551cade0a8403708 (patch) | |
tree | 7531f49daae15113eb06ac8fe6c183edaf901db0 /src/backend/parser/parse_clause.c | |
parent | 2e0d80c5bb722fb49a4cdc44b0c715ec77c83f79 (diff) | |
download | postgresql-8328a15f8f95cad3fa99bbab551cade0a8403708.tar.gz postgresql-8328a15f8f95cad3fa99bbab551cade0a8403708.zip |
Fix recently added incorrect assertion
Commit df3737a651f4 added an incorrect assertion about the preconditions
for invoking the backup cleanup callback: it misfires at session end in
case a backup completes successfully. Fix it, using coding from Michaƫl
Paquier. Also add some tests for the various cases.
Reported by Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Discussion: https://postgr.es/m/20221021.161038.1277961198945653224.horikyota.ntt@gmail.com
Diffstat (limited to 'src/backend/parser/parse_clause.c')
0 files changed, 0 insertions, 0 deletions