pgsql: Add more error context to RestoreBlockImage() and consume it

2022-09-08 Thread Michael Paquier
Add more error context to RestoreBlockImage() and consume it On failure in restoring a block image, no details were provided, while it is possible to see failure with an inconsistent record state, a failure in processing decompression or a failure in decompression because a build does not support

pgsql: Add more error context to RestoreBlockImage() and consume it

2022-09-08 Thread Michael Paquier
Add more error context to RestoreBlockImage() and consume it On failure in restoring a block image, no details were provided, while it is possible to see failure with an inconsistent record state, a failure in processing decompression or a failure in decompression because a build does not support