pgsql: Eliminate some no-longer-needed workarounds for palloc's old

Поиск
Список
Период
Сортировка
От tgl@postgresql.org (Tom Lane)
Тема pgsql: Eliminate some no-longer-needed workarounds for palloc's old
Дата
Msg-id 20060420175021.7CD6111F6D21@postgresql.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------
Eliminate some no-longer-needed workarounds for palloc's old behavior
of rejecting palloc(0).  Also, tweak like_selectivity() to avoid assuming
the presented pattern is nonempty; although that assumption is valid,
it doesn't really help much, and the new coding is more correct anyway
since it properly handles redundant wildcards.  In combination these
changes should eliminate a Coverity warning noted by Martijn.

Modified Files:
--------------
    pgsql/src/backend/utils/adt:
        selfuncs.c (r1.198 -> r1.199)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/selfuncs.c.diff?r1=1.198&r2=1.199)

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

Предыдущее
От: shachar@pgfoundry.org (User Shachar)
Дата:
Сообщение: oledb - oledb: Add Victor Snezhko to the list of authors
Следующее
От: tgl@postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Add some optional code (conditionally compiled under #ifdef