Log Message:
-----------
Avoid integer overflow in the loop that extracts histogram entries from
ANALYZE's total sample. The original coding is at risk of overflow for
statistics targets exceeding about 2675; this was not a problem before
8.4 but it is now. Per bug #4793 from Dennis Noordsij.
Modified Files:
--------------
pgsql/src/backend/commands:
analyze.c (r1.135 -> r1.136)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/analyze.c?r1=1.135&r2=1.136)
pgsql-committers by date
| Next: | From: Peter Eisentraut | Date: 2009-05-05 18:32:18 |
| Subject: pgsql: Disable the use of Unicode escapes in string constants (U&'') |
| Previous: | From: User Bmomjian | Date: 2009-05-05 17:44:05 |
| Subject: pg-migrator - pg_migrator: Fix compiler warning. |