Re: Strange code in EXPLAIN for queryid

Поиск
Список
Период
Сортировка
От Julien Rouhaud
Тема Re: Strange code in EXPLAIN for queryid
Дата
Msg-id 20210808140632.biah4samuhvbokgc@nol
обсуждение исходный текст
Ответ на Strange code in EXPLAIN for queryid  (David Rowley <dgrowleyml@gmail.com>)
Ответы Re: Strange code in EXPLAIN for queryid  (David Rowley <dgrowleyml@gmail.com>)
Список pgsql-hackers
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.



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: Re: very long record lines in expanded psql output
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Assert triggered during RE_compile_and_cache