]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Use correct datatype for PID
authorDaniel Gustafsson <dgustafsson@postgresql.org>
Fri, 29 May 2026 19:26:23 +0000 (21:26 +0200)
committerDaniel Gustafsson <dgustafsson@postgresql.org>
Fri, 29 May 2026 19:26:23 +0000 (21:26 +0200)
commit0ca1b3010597231b474d94d877ecc8266a473537
tree58581fa3a9491d4ab3f25932ede7b92d9564a871
parentcd857dec0e0ae63dabf548d51fddb27c45561086
Use correct datatype for PID

The datachecksums launcher was using int for storing a PID, but
the correct type is pid_t (which is defined to be a signed int).

Author: Tomas Vondra <tomas@vondra.me>
Reviewed-by: Daniel Gustafsson <daniel@yesql.se>
Discussion: https://postgr.es/m/f1281cf3-89a3-4936-9bc5-2a5a6291229f@vondra.me
src/backend/postmaster/datachecksum_state.c