aboutsummaryrefslogtreecommitdiff
path: root/src/backend/replication/logical/decode.c
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2024-01-17 17:03:02 +0900
committerMichael Paquier <michael@paquier.xyz>2024-01-17 17:03:02 +0900
commit44ad5129ce19d22afe757a6b56e41eaa91304869 (patch)
tree975bbef1ac002feee0c0faf87144f2b37350245c /src/backend/replication/logical/decode.c
parent061cc7eacac15c4bcd4447a238e16a6e0ea9c6bb (diff)
downloadpostgresql-44ad5129ce19d22afe757a6b56e41eaa91304869.tar.gz
postgresql-44ad5129ce19d22afe757a6b56e41eaa91304869.zip
Fix description of DecodeInsert() in decode.c
This incorrectly referred to deletes. Author: Yongtao Huang Reviewed-by: Richard Guo Description: https://postgr.es/m/CAOe1Go0Czgvo9eiDqeFpaABwJu=gBK6qjrYzZGZLn=tKDX8AUw@mail.gmail.com
Diffstat (limited to 'src/backend/replication/logical/decode.c')
-rw-r--r--src/backend/replication/logical/decode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/replication/logical/decode.c b/src/backend/replication/logical/decode.c
index b3f8f908d18..6a0f22b209b 100644
--- a/src/backend/replication/logical/decode.c
+++ b/src/backend/replication/logical/decode.c
@@ -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)