From: Michael Paquier Date: Wed, 17 Jan 2024 08:03:02 +0000 (+0900) Subject: Fix description of DecodeInsert() in decode.c X-Git-Tag: REL_17_BETA1~1091 X-Git-Url: http://git.postgresql.org/gitweb/?a=commitdiff_plain;h=44ad5129ce19d22afe757a6b56e41eaa91304869;p=postgresql.git 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 --- 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)