postgresql/src/bin/pg_rewind
John Naylor f956ecd035 Convert uses of hash_string_pointer to fasthash equivalent
Remove duplicate hash_string_pointer() function definitions by creating
a new inline function hash_string() for this purpose.

This has the added advantage of avoiding strlen() calls when doing hash
lookup. It's not clear how many of these are perfomance-sensitive
enough to benefit from that, but the simplification is worth it on
its own.

Reviewed by Jeff Davis

Discussion: https://postgr.es/m/CANWCAZbg_XeSeY0a_PqWmWqeRATvzTzUNYRLeT%2Bbzs%2BYQdC92g%40mail.gmail.com
2024-04-06 12:20:40 +07:00
..
po Update copyright for 2024 2024-01-03 20:49:05 -05:00
t Activate perlcritic InputOutput::RequireCheckedSyscalls and fix resulting warnings 2024-03-19 07:09:31 +01:00
.gitignore Improve logging of TAP tests. 2015-07-09 13:19:10 +03:00
Makefile Update copyright for 2024 2024-01-03 20:49:05 -05:00
datapagemap.c Update copyright for 2024 2024-01-03 20:49:05 -05:00
datapagemap.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
file_ops.c Update copyright for 2024 2024-01-03 20:49:05 -05:00
file_ops.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
filemap.c Convert uses of hash_string_pointer to fasthash equivalent 2024-04-06 12:20:40 +07:00
filemap.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
libpq_source.c Introduce transaction_timeout 2024-02-15 23:56:12 +02:00
local_source.c Update copyright for 2024 2024-01-03 20:49:05 -05:00
meson.build Update copyright for 2024 2024-01-03 20:49:05 -05:00
nls.mk Add missing source files to nls.mk 2023-04-14 09:56:04 +02:00
parsexlog.c Update copyright for 2024 2024-01-03 20:49:05 -05:00
pg_rewind.c Allow dbname to be written as part of connstring via pg_basebackup's -R option. 2024-03-21 10:50:33 +05:30
pg_rewind.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
rewind_source.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
timeline.c Update copyright for 2024 2024-01-03 20:49:05 -05:00