pgsql: Improve histogram-filling loop in new compute_array_stats() code

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Improve histogram-filling loop in new compute_array_stats() code
Дата
Msg-id E1S4IEW-0002EM-TQ@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Improve histogram-filling loop in new compute_array_stats() code.

Do "frac" arithmetic in int64 to prevent overflow with large statistics
targets, and improve the comments so people have some chance of
understanding how it works.

Alexander Korotkov and Tom Lane

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/4fb694aebc524f2085152d8c98a85e01ef6136f4

Modified Files
--------------
src/backend/utils/adt/array_typanalyze.c |   63 +++++++++++++++++++++---------
1 files changed, 44 insertions(+), 19 deletions(-)


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