pgsql: Small code simplification

From: Richard Guo <rguo(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Small code simplification
Date: 2024-08-22 02:41:45
Message-ID: E1sgxlh-000ruF-Ji@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Browse pgsql-committers by date

  From Date Subject
Next Message Alexander Korotkov 2024-08-22 06:51:03 pgsql: Avoid repeated table name lookups in createPartitionTable()
Previous Message Michael Paquier 2024-08-22 01:49:16 pgsql: Create syscache entries for pg_extension