pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Small code simplification
Date: Wed, 21 Aug 2024 07:43:06 +0000
Message-ID: <E1sgfzm-000jVc-78@gemulon.postgresql.org> (raw)

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(-)



view thread (4+ messages)  latest in thread

Message-ID: <E1sgfzm-000jVc-78@gemulon.postgresql.org>
Permalink:  ../E1sgfzm-000jVc-78@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1sgfzm-000jVc-78@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: peter@eisentraut.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Small code simplification
  In-Reply-To: <E1sgfzm-000jVc-78@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox