pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Remove unnecessary casts 3+ messages / 2 participants [nested] [flat]
* pgsql: Remove unnecessary casts @ 2017-09-05 19:08 Peter Eisentraut <peter_e@gmx.net> 0 siblings, 0 replies; 3+ messages in thread From: Peter Eisentraut @ 2017-09-05 19:08 UTC (permalink / raw) To: pgsql-committers Remove unnecessary casts Reviewed-by: Michael Paquier <michael.paquier@gmail.com> Reviewed-by: Ryan Murphy <ryanfmurphy@gmail.com> Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/ec3a4375961abaa209116162966bc7af2d51148a Modified Files -------------- contrib/cube/cube.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 3+ messages in thread
* pgsql: Remove unnecessary casts @ 2022-12-08 08:06 Peter Eisentraut <peter@eisentraut.org> 0 siblings, 0 replies; 3+ messages in thread From: Peter Eisentraut @ 2022-12-08 08:06 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Remove unnecessary casts Some code carefully cast all data buffer arguments for BufFileWrite() and BufFileRead() to void *, even though the arguments are already void * (and AFAICT were never anything else). Remove this unnecessary clutter. Discussion: https://www.postgresql.org/message-id/flat/11dda853-bb5b-59ba-a746-e168b1ce4bdb%40enterprisedb.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/07c29ca7fe30839a75d15b43c13b290a59a60ddf Modified Files -------------- src/backend/executor/nodeHashjoin.c | 8 ++++---- src/backend/utils/sort/tuplestore.c | 12 ++++++------ 2 files changed, 10 insertions(+), 10 deletions(-) ^ permalink raw reply [nested|flat] 3+ messages in thread
* pgsql: Remove unnecessary casts @ 2022-12-30 09:16 Peter Eisentraut <peter@eisentraut.org> 0 siblings, 0 replies; 3+ messages in thread From: Peter Eisentraut @ 2022-12-30 09:16 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Remove unnecessary casts Some code carefully cast all data buffer arguments for data write and read function calls to void *, even though the respective arguments are already void *. Remove this unnecessary clutter. Discussion: https://www.postgresql.org/message-id/flat/11dda853-bb5b-59ba-a746-e168b1ce4bdb%40enterprisedb.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/5f2f99c9c62d754c19e090cb57fdd929438ea519 Modified Files -------------- src/backend/executor/nodeAgg.c | 6 +++--- src/backend/storage/file/buffile.c | 4 ++-- src/backend/utils/sort/logtape.c | 18 +++++++++--------- src/backend/utils/sort/tuplesort.c | 2 +- src/backend/utils/sort/tuplesortvariants.c | 16 ++++++++-------- 5 files changed, 23 insertions(+), 23 deletions(-) ^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2022-12-30 09:16 UTC | newest] Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2017-09-05 19:08 pgsql: Remove unnecessary casts Peter Eisentraut <peter_e@gmx.net> 2022-12-08 08:06 pgsql: Remove unnecessary casts Peter Eisentraut <peter@eisentraut.org> 2022-12-30 09:16 pgsql: Remove unnecessary casts Peter Eisentraut <peter@eisentraut.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