pgsql: Improve style of two code paths
Started by Michael Paquierover 1 year ago1 messagescomitters
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: /messages/by-id/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(-)