From df3ad5c4f6845ff3888cdee990310e840752ff08 Mon Sep 17 00:00:00 2001 From: Gokhan Gulbiz Date: Mon, 20 Mar 2023 08:49:39 +0300 Subject: [PATCH] Indent --- src/backend/distributed/utils/attribute.c | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/src/backend/distributed/utils/attribute.c b/src/backend/distributed/utils/attribute.c index f2583da2c..34054be71 100644 --- a/src/backend/distributed/utils/attribute.c +++ b/src/backend/distributed/utils/attribute.c @@ -645,9 +645,13 @@ ExtractTopComment(const char *inputString) if (commentEndCharsIndex > commentStartCharsLength) { - Datum substringTextDatum = DirectFunctionCall3(text_substr, PointerGetDatum(inputString), - Int32GetDatum(commentStartCharsLength), - Int32GetDatum(commentEndCharsIndex - commentStartCharsLength)); + Datum substringTextDatum = DirectFunctionCall3(text_substr, PointerGetDatum( + inputString), + Int32GetDatum( + commentStartCharsLength), + Int32GetDatum( + commentEndCharsIndex - + commentStartCharsLength)); return TextDatumGetCString(substringTextDatum); } else @@ -656,6 +660,7 @@ ExtractTopComment(const char *inputString) } } + /* EscapeCommentChars adds a backslash before each occurrence of '*' or '/' in the input string */ static char * EscapeCommentChars(const char *str)