aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/execReplication.c
diff options
context:
space:
mode:
authorAndres Freund <andres@anarazel.de>2023-07-24 19:07:52 -0700
committerAndres Freund <andres@anarazel.de>2023-07-24 19:07:52 -0700
commitf3bc5192889f6f02aa10ca9f24df4eab1f1493c1 (patch)
tree38a4d7e59e07b39ddb19e1010f3d5ac8861aebc0 /src/backend/executor/execReplication.c
parentd6677b93c79b19bf3772cb32fcea0a77d8520db9 (diff)
downloadpostgresql-f3bc5192889f6f02aa10ca9f24df4eab1f1493c1.tar.gz
postgresql-f3bc5192889f6f02aa10ca9f24df4eab1f1493c1.zip
Fix off-by-one in LimitAdditionalPins()
Due to the bug LimitAdditionalPins() could return 0, violating LimitAdditionalPins()'s API ("One additional pin is always allowed"). This could be hit when setting shared_buffers very low and using a fair amount of concurrency. This bug was introduced in 31966b151e6a. Author: "Anton A. Melnikov" <aamelnikov@inbox.ru> Reported-by: "Anton A. Melnikov" <aamelnikov@inbox.ru> Reported-by: Victoria Shepard Discussion: https://postgr.es/m/ae46f2fb-5586-3de0-b54b-1bb0f6410ebd@inbox.ru Backpatch: 16-
Diffstat (limited to 'src/backend/executor/execReplication.c')
0 files changed, 0 insertions, 0 deletions