| From: | Peter Eisentraut <peter(at)eisentraut(dot)org> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Small code simplification |
| Date: | 2024-08-21 07:43:06 |
| Message-ID: | E1sgfzm-000jVc-78@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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(at)eisentraut(dot)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(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Amit Kapila | 2024-08-21 11:27:02 | pgsql: Fix typos in 9758174e2e. |
| Previous Message | Amit Kapila | 2024-08-21 04:05:33 | pgsql: Don't advance origin during apply failure. |