summaryrefslogtreecommitdiff
path: root/src/backend/access/transam/xlogprefetch.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2025-08-21 19:40:12 +0200
committerPeter Eisentraut <peter@eisentraut.org>2025-08-21 19:45:25 +0200
commit47932f3cdc4c221dbd9207cb21e63c862fedd189 (patch)
tree2afb2ce7c3f89de52173ba519bbfe2bd9cef34af /src/backend/access/transam/xlogprefetch.c
parent12da45742cfd15d9fab151b25400d96a1febcbde (diff)
Use consistent type for pgaio_io_get_id() result
The result of pgaio_io_get_id() was being assigned to a mix of int and uint32 variables. This fixes it to use int consistently, which seems the most correct. Also change the queue empty special value in method_worker.c to -1 from UINT32_MAX. Reviewed-by: Andres Freund <andres@anarazel.de> Discussion: https://www.postgresql.org/message-id/70c784b3-f60b-4652-b8a6-75e5f051243e%40eisentraut.org
Diffstat (limited to 'src/backend/access/transam/xlogprefetch.c')
0 files changed, 0 insertions, 0 deletions