]> granicus.if.org Git - postgresql/commitdiff
Fix obsolete comment.
authorRobert Haas <rhaas@postgresql.org>
Wed, 29 Jun 2016 17:12:50 +0000 (13:12 -0400)
committerRobert Haas <rhaas@postgresql.org>
Wed, 29 Jun 2016 17:12:50 +0000 (13:12 -0400)
Commit 3bd261ca18c67eafe18088e58fab511e3b965418 should have updated
this, but didn't.

Extracted from a larger patch by Piotr Stefaniak.

src/backend/storage/ipc/shm_mq.c

index 5f6226c9bb960c6046d23bd603450ad2839bc77a..44ede336162669b4dcf97ceae1baee85c62cfb28 100644 (file)
@@ -103,7 +103,7 @@ struct shm_mq
  * locally by copying the chunks into a backend-local buffer.  mqh_buffer is
  * the buffer, and mqh_buflen is the number of bytes allocated for it.
  *
- * mqh_partial_message_bytes, mqh_expected_bytes, and mqh_length_word_complete
+ * mqh_partial_bytes, mqh_expected_bytes, and mqh_length_word_complete
  * are used to track the state of non-blocking operations.  When the caller
  * attempts a non-blocking operation that returns SHM_MQ_WOULD_BLOCK, they
  * are expected to retry the call at a later time with the same argument;