Re: Log details for stats dropped more than once

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Bertrand Drouvot <bertranddrouvot(dot)pg(at)gmail(dot)com>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Log details for stats dropped more than once
Date: 2024-05-15 23:17:17
Message-ID: ZkVCfej4sEcqEIx_@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, May 15, 2024 at 08:04:48AM +0000, Bertrand Drouvot wrote:
> Thanks! BTW, I just realized that adding more details for this error has already
> been mentioned in [1] (and Andres did propose a slightly different version).
>
> [1]: https://www.postgresql.org/message-id/20240505160915.6boysum4f34siqct%40awork3.anarazel.de

Ah, it is not surprising. I'd agree with doing what is posted there
for simplicity's sake. Rather than putting that in a errdetail, let's
keep all the information in an errmsg() as that makes deparsing
easier, and let's keep the elog().
--
Michael

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Jeff Davis 2024-05-15 23:31:42 Re: Introduce new multi insert Table AM and improve performance of various SQL commands with it for Heap AM
Previous Message Michael Paquier 2024-05-15 23:11:11 Re: Underscore in positional parameters?