pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Richard Guo <rguo@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Small code simplification
Date: Thu, 22 Aug 2024 02:41:45 +0000
Message-ID: <E1sgxlh-000ruF-Ji@gemulon.postgresql.org> (raw)

Small code simplification

Apply the same code simplification to ATExecAddColumn as was done in
7ff9afbbd: apply GETSTRUCT() once instead of doing it repeatedly in
the same function.

Author: Tender Wang
Discussion: https://postgr.es/m/CAHewXNkO9+U437jvKT14s0MCu6Qpf6G-p2mZK5J9mAi4cHDgpQ@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/9bb842f95ef3384f0822c386a4c569780e613e4e

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



view thread (4+ messages)

Message-ID: <E1sgxlh-000ruF-Ji@gemulon.postgresql.org>
Permalink:  ../E1sgxlh-000ruF-Ji@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1sgxlh-000ruF-Ji@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: rguo@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Small code simplification
  In-Reply-To: <E1sgxlh-000ruF-Ji@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