pgsql: Remove residual NULL-pstate handling in addRangeTableEntry.

Поиск
Список
Период
Сортировка
От Robert Haas
Тема pgsql: Remove residual NULL-pstate handling in addRangeTableEntry.
Дата
Msg-id E1YSuac-0002lG-SU@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Remove residual NULL-pstate handling in addRangeTableEntry.

Passing a NULL pstate wouldn't actually work, because isLockedRefname()
isn't prepared to cope with it; and there hasn't been any in-core code
that tries in over a decade.  So just remove the residual NULL handling.

Spotted by Coverity; analysis and patch by Michael Paquier.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/5223ddacdc737b401ed58184e321f354bdf46686

Modified Files
--------------
src/backend/parser/parse_relation.c |    8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)


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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: pgsql: Change many routines to return ObjectAddress rather than OID
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix long-obsolete code for separating filter conditions in cost_