pgsql-server/src backend/optimizer/path/clause ...
pgsql-server/src backend/optimizer/path/clause ...
От:
tgl@postgresql.org (Tom Lane)
Дата:
CVSROOT: /cvsroot Module name: pgsql-server Changes by: tgl@postgresql.org 02/10/18 22:56:16 Modified files: src/backend/optimizer/path: clausesel.c src/backend/utils/adt: selfuncs.c src/include/utils: selfuncs.h Log message: Fix range-query estimation to not double-exclude NULLs, per gripe from Ray Ontko 28-June-02. Also, fix prefix_selectivity for NAME lefthand variables (it was bogusly assuming binary compatibility), and adjust make_greater_string() to not call pg_mbcliplen() with invalid multibyte data (this last per bug report that I can't find at the moment, but it was in July '02).