Add missing spaces after single-line comments
authorDavid Rowley <[email protected]>
Wed, 13 Apr 2022 21:28:56 +0000 (09:28 +1200)
committerDavid Rowley <[email protected]>
Wed, 13 Apr 2022 21:28:56 +0000 (09:28 +1200)
Only 1 of 3 of these changes appear to be handled by pgindent. That change
is new to v15.  The remaining two appear to be left alone by pgindent. The
exact reason for that is not 100% clear to me.  It seems related to the
fact that it's a line that contains *only* a single line comment and no
actual code.  It does not seem worth investigating this in too much
detail.  In any case, these do not conform to our usual practices, so fix
them.

Author: Justin Pryzby
Discussion: https://postgr.es/m/20220411020336[email protected]

src/backend/storage/file/fd.c
src/include/replication/message.h
src/include/tsearch/ts_type.h

index 14b77f28617b5b68e111416ffbe4d0536b080d95..24704b6a02360abdc39c474761ac63480f7ca6ae 100644 (file)
@@ -912,7 +912,7 @@ InitFileAccess(void)
 void
 InitTemporaryFileAccess(void)
 {
-       Assert(SizeVfdCache != 0);      /* InitFileAccess() needs to have run*/
+       Assert(SizeVfdCache != 0);      /* InitFileAccess() needs to have run */
        Assert(!temporary_files_allowed);       /* call me only once */
 
        /*
index 7d7785292f14e25cf2a1f1ca28ed087cb01cdf7d..b9686c2855054537c6a3c178977cf4d1e66eb901 100644 (file)
@@ -32,7 +32,7 @@ typedef struct xl_logical_message
 extern XLogRecPtr LogLogicalMessage(const char *prefix, const char *message,
                                                                        size_t size, bool transactional);
 
-/* RMGR API*/
+/* RMGR API */
 #define XLOG_LOGICAL_MESSAGE   0x00
 void           logicalmsg_redo(XLogReaderState *record);
 void           logicalmsg_desc(StringInfo buf, XLogReaderState *record);
index a2008f5504b20b02b0cc4ec795618c4e6f3bb219..689b2d1cfb62edee1ed4bee38dd7f29248f5deb3 100644 (file)
@@ -171,7 +171,7 @@ typedef struct
 
 extern PGDLLIMPORT const int tsearch_op_priority[OP_COUNT];
 
-/* get operation priority  by its code*/
+/* get operation priority by its code */
 #define OP_PRIORITY(x) ( tsearch_op_priority[(x) - 1] )
 /* get QueryOperator priority */
 #define QO_PRIORITY(x) OP_PRIORITY(((QueryOperator *) (x))->oper)