Here's a patch I propose to apply to fix this bug (See<https://stream.boxwatch.ru/message-id/flat/759e997e-e1ca-91cd-84db-f4ae963fada1%40dunslane.net#b1cf11c3eb1f450bed97c79ad473909f>)
cheers
andrew
--Andrew DunstanEDB: https://www.enterprisedb.com