pgsql: Small code simplification - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: Small code simplification
Date
Msg-id E1sgfzm-000jVc-78@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Small code simplification

Apply GETSTRUCT() once instead of doing it repeatedly in the same
function.  This simplifies the notation and makes the function's
structure more similar to the surrounding ones.

Discussion: https://www.postgresql.org/message-id/flat/a368248e-69e4-40be-9c07-6c3b5880b0a6@eisentraut.org

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/7ff9afbbd1df7c256024edb447eae7269c1bab03

Modified Files
--------------
src/backend/commands/tablecmds.c | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)


pgsql-committers by date:

Previous
From: Amit Kapila
Date:
Subject: pgsql: Don't advance origin during apply failure.
Next
From: Amit Kapila
Date:
Subject: pgsql: Fix typos in 9758174e2e.