Обсуждение: [COMMITTERS] pgsql: Remove unnecessary casts of makeNode() result

Поиск
Список
Период
Сортировка

[COMMITTERS] pgsql: Remove unnecessary casts of makeNode() result

От
Peter Eisentraut
Дата:
Remove unnecessary casts of makeNode() result

makeNode() is already a macro that has the right result pointer type, so
casting it again to the same type is unnecessary.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/158df30359025d74daee74a3b927fd07c3b1a413

Modified Files
--------------
src/backend/commands/tablecmds.c    |  2 +-
src/backend/executor/execQual.c     | 14 +++++++-------
src/backend/replication/repl_gram.y |  3 +--
src/backend/rewrite/rowsecurity.c   |  6 +++---
4 files changed, 12 insertions(+), 13 deletions(-)