Hello Alvaro, Tuesday, November 26, 2024, 2:40:39 PM, you wrote:
AH> By the way, how did you find out about this problem? Is this AH> hypothetical or was there an actual crash? AFAICS (some of?) the AH> callers get to this code immediately after executing GinInitPage, so AH> it's not clear to me that there's an actual bug here. Code analyzer. And we (our company) must somehow address this issue (a long story why). I understand that sometimes some cases are pretty impossible because of the "business-logic" that makes errors checking redundant. However sometimes that "business-logic" changes later on... So this is a moment when debug asserts come to play and save a lot of time and sane. Although I don't mind of elog/whatever. I'm just not that familiar with the "business-logic" to make an appropriate choice. -- Best regards, Dmitry mailto:pgsql-hack...@dima.nikitin.name