Re: Improve error messages for database object stats manipulation functions during recovery - Mailing list pgsql-hackers

From Maxim Orlov
Subject Re: Improve error messages for database object stats manipulation functions during recovery
Date
Msg-id CACG=ezYWvxrsLw3eChPKhiPG87Bf2e+LLp4hLNO7surLv7x7XA@mail.gmail.com
Whole thread Raw
In response to Re: Improve error messages for database object stats manipulation functions during recovery  (Heikki Linnakangas <hlinnaka@iki.fi>)
Responses Re: Improve error messages for database object stats manipulation functions during recovery
List pgsql-hackers
+1 for the patch. 

Recently, one of our customer have tried to upgrade the replica, and, obviously, failed. I don't remember the exact error message, but for him it was not so clear that server is in recovery. Explicitly declaring error is the way to go in my view.

So, I consider this patch useful. Overall, looks good to me.

--
Best regards,
Maxim Orlov.

pgsql-hackers by date:

Previous
From: Marco Slot
Date:
Subject: Re: Potential ABI breakage in upcoming minor releases
Next
From: Aleksander Alekseev
Date:
Subject: Re: Potential ABI breakage in upcoming minor releases