diff options
author | David Rowley | 2022-04-13 21:28:56 +0000 |
---|---|---|
committer | David Rowley | 2022-04-13 21:28:56 +0000 |
commit | a00fd066b1b632e675bae74841a87de1ffc1cd33 (patch) | |
tree | 8d50194b593b522b19ddaefa784fe86685c86fe2 | |
parent | ac8be0cb957811d04d7564f4d710ceb3e5f2fb9f (diff) |
Add missing spaces after single-line comments
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/[email protected]
-rw-r--r-- | src/backend/storage/file/fd.c | 2 | ||||
-rw-r--r-- | src/include/replication/message.h | 2 | ||||
-rw-r--r-- | src/include/tsearch/ts_type.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/storage/file/fd.c b/src/backend/storage/file/fd.c index 14b77f2861..24704b6a02 100644 --- a/src/backend/storage/file/fd.c +++ b/src/backend/storage/file/fd.c @@ -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 */ /* diff --git a/src/include/replication/message.h b/src/include/replication/message.h index 7d7785292f..b9686c2855 100644 --- a/src/include/replication/message.h +++ b/src/include/replication/message.h @@ -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); diff --git a/src/include/tsearch/ts_type.h b/src/include/tsearch/ts_type.h index a2008f5504..689b2d1cfb 100644 --- a/src/include/tsearch/ts_type.h +++ b/src/include/tsearch/ts_type.h @@ -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) |