postgresql/contrib/bloom
Peter Eisentraut 756a436893 Don't rely on pointer arithmetic with Pointer type
The comment for the Pointer type says 'XXX Pointer arithmetic is done
with this, so it can't be void * under "true" ANSI compilers.'.  This
fixes that.  Change from Pointer to use char * explicitly where
pointer arithmetic is needed.  This makes the meaning of the code
clearer locally and removes a dependency on the actual definition of
the Pointer type.  (The definition of the Pointer type is not changed
in this commit.)

Reviewed-by: Chao Li <li.evan.chao@gmail.com>
Reviewed-by: Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Discussion: https://www.postgresql.org/message-id/4154950a-47ae-4223-bd01-1235cc50e933%40eisentraut.org
2025-12-03 09:54:15 +01: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 Bloom index contrib module 2016-04-01 16:42:24 +03:00
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 index contrib module 2016-04-01 16:42:24 +03:00
bloom.h Don't rely on pointer arithmetic with Pointer type 2025-12-03 09:54:15 +01:00
blscan.c Show index search count in EXPLAIN ANALYZE, take 2. 2025-03-11 09:20:50 -04:00
blutils.c Don't rely on pointer arithmetic with Pointer type 2025-12-03 09:54:15 +01:00
blvacuum.c Don't rely on pointer arithmetic with Pointer type 2025-12-03 09:54:15 +01: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