Small code simplification

Richard Guo <rguo@postgresql.org>

Commit: 9bb842f95ef3384f0822c386a4c569780e613e4e
Author: Richard Guo <rguo@postgresql.org>
Date: 2024-08-22T02:41:08Z
Releases: 18.0
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

Files

PathChange+/−
src/backend/commands/tablecmds.c modified +5 −3

Discussion