aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/regexp.c
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2022-05-24 10:55:01 -0400
committerRobert Haas <rhaas@postgresql.org>2022-05-31 08:46:54 -0400
commitf5bfba5413f51b4fa0a7b0dc879d39ae6881d8be (patch)
tree5a0c0d269117effd3dbb178055af372867a127bd /src/backend/utils/adt/regexp.c
parent0a050ee000b6783ac4b78e9eadb47a4e72912672 (diff)
downloadpostgresql-f5bfba5413f51b4fa0a7b0dc879d39ae6881d8be.tar.gz
postgresql-f5bfba5413f51b4fa0a7b0dc879d39ae6881d8be.zip
shm_mq_sendv: Fix flushing bug when receiver not yet attached.
With the old logic, when the reciever had not yet attached, we would never call shm_mq_inc_bytes_written(), even if force_flush = true was specified. That could result in a situation where data that the sender believes it has sent is never received. Along the way, remove a useless function prototype for a nonexistent function from shm_mq.h. Commit 46846433a03dff4f2e08c8a161e54a842da360d6 introduced these problems. Pavan Deolasee, with a few changes by me. Discussion: https://postgr.es/m/CABOikdPkwtLLCTnzzmpSMXo3QZa2yXq0J7Q61ssdLFAJYrOVvQ@mail.gmail.com
Diffstat (limited to 'src/backend/utils/adt/regexp.c')
0 files changed, 0 insertions, 0 deletions