postgres/contrib/bloom
Peter Eisentraut 710e6c4301 Remove unneeded casts of BufferGetPage() result
BufferGetPage() already returns type Page, so casting it to Page
doesn't achieve anything.  A sizable number of call sites does this
casting; remove that.

This was already done inconsistently in the code in the first import
in 1996 (but didn't exist in the pre-1995 code), and it was then
apparently just copied around.

Author: Kirill Reshke <reshkekirill@gmail.com>
Reviewed-by: Chao Li <li.evan.chao@gmail.com>
Reviewed-by: Richard Guo <guofenglinux@gmail.com>
Reviewed-by: Álvaro Herrera <alvherre@kurilemu.de>
Reviewed-by: Peter Eisentraut <peter@eisentraut.org>
Discussion: https://www.postgresql.org/message-id/flat/CALdSSPgFhc5=vLqHdk-zCcnztC0zEY3EU_Q6a9vPEaw7FkE9Vw@mail.gmail.com
2025-08-29 07:18:29 +02:00
..
expected Remove incidental md5() function uses from several tests 2023-07-04 14:31:57 +02:00
sql Remove incidental md5() function uses from several tests 2023-07-04 14:31:57 +02:00
t Update copyright for 2025 2025-01-01 11:21:55 -05:00
.gitignore
blcost.c Update copyright for 2025 2025-01-01 11:21:55 -05:00
blinsert.c Use PG_MODULE_MAGIC_EXT in our installable shared libraries. 2025-03-26 11:11:02 -04:00
bloom--1.0.sql Minor fixes in contrib installation scripts. 2016-06-14 10:47:06 -04:00
bloom.control
bloom.h Update copyright for 2025 2025-01-01 11:21:55 -05:00
blscan.c Show index search count in EXPLAIN ANALYZE, take 2. 2025-03-11 09:20:50 -04:00
blutils.c Rename amcancrosscompare 2025-03-07 11:46:33 +01:00
blvacuum.c Remove unneeded casts of BufferGetPage() result 2025-08-29 07:18:29 +02:00
blvalidate.c Add get_opfamily_name() function 2025-02-01 10:42:58 +01:00
Makefile Re-enable contrib/bloom's TAP tests. 2021-09-27 18:48:01 -04:00
meson.build Update copyright for 2025 2025-01-01 11:21:55 -05:00