pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Small code simplification 4+ messages / 2 participants [nested] [flat]
* pgsql: Small code simplification @ 2019-11-29 09:56 Peter Eisentraut <peter@eisentraut.org> 0 siblings, 0 replies; 4+ messages in thread From: Peter Eisentraut @ 2019-11-29 09:56 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 file changed, 1 insertion(+), 5 deletions(-) ^ permalink raw reply [nested|flat] 4+ messages in thread
* pgsql: Small code simplification @ 2023-03-16 15:13 Peter Eisentraut <peter@eisentraut.org> 0 siblings, 0 replies; 4+ messages in thread From: Peter Eisentraut @ 2023-03-16 15:13 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Small code simplification Author: Nathan Bossart <nathandbossart@gmail.com> Discussion: https://www.postgresql.org/message-id/20230310000313.GA3992372%40nathanxps13 Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/3b7cd8c690f294185c1ba074fb7efdf687829361 Modified Files -------------- src/backend/commands/user.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ^ permalink raw reply [nested|flat] 4+ messages in thread
* pgsql: Small code simplification @ 2024-08-21 07:43 Peter Eisentraut <peter@eisentraut.org> 0 siblings, 0 replies; 4+ messages in thread From: Peter Eisentraut @ 2024-08-21 07:43 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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-6c3b5880b0a6@eisentraut.org Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/7ff9afbbd1df7c256024edb447eae7269c1bab03 Modified Files -------------- src/backend/commands/tablecmds.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) ^ permalink raw reply [nested|flat] 4+ messages in thread
* pgsql: Small code simplification @ 2024-08-22 02:41 Richard Guo <rguo@postgresql.org> 0 siblings, 0 replies; 4+ messages in thread From: Richard Guo @ 2024-08-22 02:41 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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(-) ^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2024-08-22 02:41 UTC | newest] Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2019-11-29 09:56 pgsql: Small code simplification Peter Eisentraut <peter@eisentraut.org> 2023-03-16 15:13 pgsql: Small code simplification Peter Eisentraut <peter@eisentraut.org> 2024-08-21 07:43 pgsql: Small code simplification Peter Eisentraut <peter@eisentraut.org> 2024-08-22 02:41 pgsql: Small code simplification Richard Guo <rguo@postgresql.org>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox