pg.ddx.io pgsql-committers@postgresql.org mailing list archive
help / color / mirror / Atom feedpg-migrator - src: Fix bugs in testing; improve debugging capabilities.
2+ messages / 2 participants
[nested] [flat]
* pg-migrator - src: Fix bugs in testing; improve debugging capabilities.
@ 2009-04-28 03:00 User Bmomjian <bmomjian@pgfoundry.org>
0 siblings, 0 replies; 2+ messages in thread
From: bmomjian@pgfoundry.org @ 2009-04-28 03:00 UTC (permalink / raw)
To: pgsql-committers
Log Message:
-----------
Fix bugs in testing; improve debugging capabilities.
Modified Files:
--------------
src:
Makefile (r1.10 -> r1.11)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pg-migrator/src/Makefile.diff?r1=1.10&r2=1.11)
TODO (r1.26 -> r1.27)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pg-migrator/src/TODO.diff?r1=1.26&r2=1.27)
controldata.c (r1.4 -> r1.5)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pg-migrator/src/controldata.c.diff?r1=1.4&r2=1.5)
exec.c (r1.5 -> r1.6)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pg-migrator/src/exec.c.diff?r1=1.5&r2=1.6)
info.c (r1.7 -> r1.8)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pg-migrator/src/info.c.diff?r1=1.7&r2=1.8)
option.c (r1.4 -> r1.5)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pg-migrator/src/option.c.diff?r1=1.4&r2=1.5)
pg_migrator.c (r1.66 -> r1.67)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pg-migrator/src/pg_migrator.c.diff?r1=1.66&r2=1.67)
pg_migrator.h (r1.13 -> r1.14)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pg-migrator/src/pg_migrator.h.diff?r1=1.13&r2=1.14)
relfilenode.c (r1.11 -> r1.12)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pg-migrator/src/relfilenode.c.diff?r1=1.11&r2=1.12)
server.c (r1.5 -> r1.6)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pg-migrator/src/server.c.diff?r1=1.5&r2=1.6)
util.c (r1.5 -> r1.6)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pg-migrator/src/util.c.diff?r1=1.5&r2=1.6)
^ permalink raw reply [nested|flat] 2+ messages in thread
* pgsql: Simplify initialization of incremental hash state
@ 2024-02-06 07:44 John Naylor <john.naylor@postgresql.org>
0 siblings, 0 replies; 2+ messages in thread
From: John Naylor @ 2024-02-06 07:44 UTC (permalink / raw)
To: pgsql-committers@lists.postgresql.org
Simplify initialization of incremental hash state
The standalone functions fasthash{32,64} use length for two purposes:
how many bytes to hash, and how to perturb the internal seed.
Developers using the incremental interface may not know the length
ahead of time (e.g. for C strings). In this case, it's advised to
pass length to the finalizer, but initialization still needed some
length up front, in the form of a placeholder macro.
Separate the concerns by having the standalone functions perturb the
internal seed themselves from their own length parameter, allowing
to remove "len" from fasthash_init(), as well as the placeholder macro.
Discussion: https://postgr.es/m/CANWCAZbTUk2LOyhsFo33gjLyLAHZ7ucXCi5K9u%3D%2BPtnTShDKtw%40mail.gmail.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/9ed3ee5001b6a2d4cb0166eb8f12a457f30aaca4
Modified Files
--------------
src/backend/catalog/namespace.c | 2 +-
src/include/common/hashfn_unstable.h | 19 ++++++++-----------
2 files changed, 9 insertions(+), 12 deletions(-)
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2024-02-06 07:44 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2009-04-28 03:00 pg-migrator - src: Fix bugs in testing; improve debugging capabilities. User Bmomjian <bmomjian@pgfoundry.org>
2024-02-06 07:44 pgsql: Simplify initialization of incremental hash state John Naylor <john.naylor@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