pgsql: Reduce variable scope and possibly useless palloc

Поиск
Список
Период
Сортировка
От David Rowley
Тема pgsql: Reduce variable scope and possibly useless palloc
Дата
Msg-id E1t5lVC-0030QL-V0@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Reduce variable scope and possibly useless palloc

Move the CreateStmt down to the branch that it's used in, thus
preventing the makeNode() call in cases where the CreateStmt isn't used.

Author: Ranier Vilela <ranier.vf@gmail.com>
Discussion: https://postgr.es/m/CAEudQAq=06YPWPhS+yyTbCwv5JLKRz8rm3dWx6JR5Uj_d_fQDA@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/fcbd1bb6613fde5784b54c88e4d0398ab8e13694

Modified Files
--------------
src/backend/commands/view.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)


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