Fix typos and incorrect type in read_stream.c
authorDavid Rowley <drowley@postgresql.org>
Wed, 1 May 2024 05:04:52 +0000 (17:04 +1200)
committerDavid Rowley <drowley@postgresql.org>
Wed, 1 May 2024 05:04:52 +0000 (17:04 +1200)
commit2ea4b29277222efe59dc25ed8385c8bcb1a3ed0f
tree471e55f0d60f32be172842802f1608f236ef1451
parent5cd72cc0c5017a9d4de8b5d465a75946da5abd1d
Fix typos and incorrect type in read_stream.c

max_ios should be int rather than int16, otherwise there's not much
point in doing:

max_ios = Min(max_ios, PG_INT16_MAX);

Discussion: https://postgr.es/m/CAApHDvr9Un-XpDr_+AFdOGM38O2K8SpfoHimqZ838gguTGYBiQ@mail.gmail.com
src/backend/storage/aio/read_stream.c