> I realise it is a matter of taste, but I find the generic error message > more accurate than this new one.
I wanted to improve it, but I agree that doing it differently for matviews might be confusing instead, so I removed that part from the patch, now it gives the same generic recovery message. > The hint in copy is not very accurate during a recovery session. I handled COPY the same way your patch does for unlogged tables, with the same generic message about recovery. v6 contains these changes in 0003, otherwise it's a trivial rebase on current master.
v6-0001-Add-durable-unlogged-reset-LSN-to-pg_control.patch
Description: Binary data
v6-0003-Add-unlogged-materialized-views.patch
Description: Binary data
v6-0002-Replace-pg_class.relispopulated-with-epoch-capabl.patch
Description: Binary data
