Re: Add comment explaining why queryid is int64 in pg_stat_statements - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Add comment explaining why queryid is int64 in pg_stat_statements
Date
Msg-id b2e47193-cabf-49a7-a202-eb5564cf262e@eisentraut.org
Whole thread Raw
In response to Re: Add comment explaining why queryid is int64 in pg_stat_statements  (Ilia Evdokimov <ilya.evdokimov@tantorlabs.com>)
List pgsql-hackers
On 20.05.25 08:38, Michael Paquier wrote:
> On Tue, May 20, 2025 at 05:51:51PM +1200, David Rowley wrote:
>> Given the planId stuff is new and has the same issue, I think that
>> pushes me towards thinking now is better than later for fixing both.
>>
>> I'm happy to adjust my patch unless you've started working on it already.
> 
> Here you go with the attached, to-be-applied on top of your own patch.

Whichever way we're going, surely this whole thing could benefit from a

     typedef something QueryId;




pgsql-hackers by date:

Previous
From: "Scott Mead"
Date:
Subject: Re: Disable parallel query by default
Next
From: Andres Freund
Date:
Subject: MERGE issues around inheritance