Skip to content

Commit 939e0ad

Browse files
committed
do not emit logs during logical decoding
1 parent 7492d74 commit 939e0ad

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/backend/replication/logical/decode.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -646,14 +646,14 @@ DecodePrepare(LogicalDecodingContext *ctx, XLogRecordBuffer *buf,
646646
int i;
647647
TransactionId xid = parsed->twophase_xid;
648648

649-
struct timeval tv;
650-
int64 ts;
649+
// struct timeval tv;
650+
// int64 ts;
651651

652-
gettimeofday(&tv, NULL);
653-
ts = (int64)tv.tv_sec*USECS_PER_SEC + tv.tv_usec;
652+
// gettimeofday(&tv, NULL);
653+
// ts = (int64)tv.tv_sec*USECS_PER_SEC + tv.tv_usec;
654654

655-
fprintf(stderr, "[MTM_TXTRACE], %s, %lld, DecodePrepare Started\n",
656-
parsed->twophase_gid, (long long) ts);
655+
// fprintf(stderr, "[MTM_TXTRACE], %s, %lld, DecodePrepare Started\n",
656+
// parsed->twophase_gid, (long long) ts);
657657

658658
if (parsed->xinfo & XACT_XINFO_HAS_ORIGIN)
659659
{

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy