Thread: pgsql: Small code simplification

pgsql: Small code simplification

From
Richard Guo
Date:
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(-)