On Sun, Aug 08, 2021 at 11:56:41PM +1200, David Rowley wrote: > > On looking a little closer I also saw that plannedstmt->queryId is a > uint64. I guess that we're showing this as an int64 so that it > matches the queryid column in the pg_stat_statements view?
The only reason we display it as an int64 rather than a uint64 is because the SQL standard doesn't define such a type, and using numeric would add useless overhead. > Any objection to applying the attached to pg14 and master? No objection.