summaryrefslogtreecommitdiff
path: root/src/backend/regex
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2017-04-06 09:09:39 +0300
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2017-04-06 09:11:24 +0300
commitc2f08c6429457a92c99906e5fa56069c57fbe3f2 (patch)
tree81eae6045918ab225fcacf74b78258e041b1715a /src/backend/regex
parent82f7c325530064d487fe6a9d378e59472d8346dc (diff)
Remove dead code and fix comments in fast-path function handling.
HandleFunctionRequest() is no longer responsible for reading the protocol message from the client, since commit 2b3a8b20c2. Fix the outdated comments. HandleFunctionRequest() now always returns 0, because the code that used to return EOF was moved in 2b3a8b20c2. Therefore, the caller no longer needs to check the return value. Reported by Andres Freund. Backpatch to all supported versions, even though this doesn't have any user-visible effect, to make backporting future patches in this area easier. Discussion: https://www.postgresql.org/message-id/20170405010525.rt5azbya5fkbhvrx@alap3.anarazel.de
Diffstat (limited to 'src/backend/regex')
0 files changed, 0 insertions, 0 deletions