pgsql: Small code simplification

2024-08-21 Thread Richard Guo
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-p2mzk5j9mai4chd...@mail.gmail

pgsql: Small code simplification

2024-08-21 Thread Peter Eisentraut
Small code simplification Apply GETSTRUCT() once instead of doing it repeatedly in the same function. This simplifies the notation and makes the function's structure more similar to the surrounding ones. Discussion: https://www.postgresql.org/message-id/flat/a368248e-69e4-40be-9c07-6c3b5880b...

pgsql: Small code simplification

2023-03-16 Thread Peter Eisentraut
Small code simplification Author: Nathan Bossart Discussion: https://www.postgresql.org/message-id/2023031313.GA3992372%40nathanxps13 Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/3b7cd8c690f294185c1ba074fb7efdf687829361 Modified Files -- src/ba

pgsql: Small code simplification

2019-11-29 Thread Peter Eisentraut
Small code simplification FLOAT8PASSBYVAL can be used instead of USE_FLOAT8_BYVAL here. Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/e6c2d17c5367ddcd900450c6a857dac8630da0ca Modified Files -- src/backend/utils/adt/rangetypes_typanalyze.c | 6 +- 1

pgsql: Small code simplification for REINDEX CONCURRENTLY

2019-03-29 Thread Peter Eisentraut
Small code simplification for REINDEX CONCURRENTLY This was left over from an earlier code structure. Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/6b8b5364ddd0e4d882562615c6b6c28638ade9f2 Modified Files -- src/backend/commands/indexcmds.c | 10 +-