Re: Improve error messages for database object stats manipulation functions during recovery

From: Maxim Orlov <orlovmg(at)gmail(dot)com>
To: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>
Cc: Fujii Masao <masao(dot)fujii(at)oss(dot)nttdata(dot)com>, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Improve error messages for database object stats manipulation functions during recovery
Date: 2024-11-15 11:59:00
Message-ID: CACG=ezYWvxrsLw3eChPKhiPG87Bf2e+LLp4hLNO7surLv7x7XA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Aleksander Alekseev 2024-11-15 12:03:21 Re: Potential ABI breakage in upcoming minor releases
Previous Message Marco Slot 2024-11-15 11:50:35 Re: Potential ABI breakage in upcoming minor releases