pgsql: Improve style of two code paths

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема pgsql: Improve style of two code paths
Дата
Msg-id E1sxzPl-002d3w-FI@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Improve style of two code paths

In execGrouping.c, execTuplesMatchPrepare() was doing a memory
allocation that was not necessary when the number of columns was 0.
In foreign.c, pg_options_to_table() was assigning twice a variable to
the same value.

Author: Ranier Vilela
Discussion: https://postgr.es/m/CAEudQAqup0agbSzMjSLSTn=OANyCzxENF1+HrSYnr3WyZib7=Q@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/4572d59e3c9b0ef6c056544b6336561efd9bb5ec

Modified Files
--------------
src/backend/executor/execGrouping.c | 4 +++-
src/backend/foreign/foreign.c       | 2 +-
2 files changed, 4 insertions(+), 2 deletions(-)


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