Fix description of DecodeInsert() in decode.c
authorMichael Paquier <[email protected]>
Wed, 17 Jan 2024 08:03:02 +0000 (17:03 +0900)
committerMichael Paquier <[email protected]>
Wed, 17 Jan 2024 08:03:02 +0000 (17:03 +0900)
This incorrectly referred to deletes.

Author: Yongtao Huang
Reviewed-by: Richard Guo
Description: https://postgr.es/m/CAOe1Go0Czgvo9eiDqeFpaABwJu=gBK6qjrYzZGZLn=tKDX8AUw@mail.gmail.com

src/backend/replication/logical/decode.c

index b3f8f908d18c6f01dfdc9e7c2d2983b44b0dd5be..6a0f22b209b1c0ed1e277755b0d86e3cd641a02c 100644 (file)
@@ -890,7 +890,7 @@ DecodeAbort(LogicalDecodingContext *ctx, XLogRecordBuffer *buf,
 /*
  * Parse XLOG_HEAP_INSERT (not MULTI_INSERT!) records into tuplebufs.
  *
- * Deletes can contain the new tuple.
+ * Inserts can contain the new tuple.
  */
 static void
 DecodeInsert(LogicalDecodingContext *ctx, XLogRecordBuffer *buf)