pgsql: Small code simplification - Mailing list pgsql-committers

From Richard Guo
Subject pgsql: Small code simplification
Date
Msg-id E1sgxlh-000ruF-Ji@gemulon.postgresql.org
Whole thread Raw
List 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(-)


pgsql-committers by date:

Previous
From: Michael Paquier
Date:
Subject: pgsql: Create syscache entries for pg_extension
Next
From: Alexander Korotkov
Date:
Subject: pgsql: Avoid repeated table name lookups in createPartitionTable()