Skip to content

Commit a00fd06

Browse files
committed
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/20220411020336.GB26620@telsasoft.com
1 parent ac8be0c commit a00fd06

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/backend/storage/file/fd.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -912,7 +912,7 @@ InitFileAccess(void)
912912
void
913913
InitTemporaryFileAccess(void)
914914
{
915-
Assert(SizeVfdCache != 0); /* InitFileAccess() needs to have run*/
915+
Assert(SizeVfdCache != 0); /* InitFileAccess() needs to have run */
916916
Assert(!temporary_files_allowed); /* call me only once */
917917

918918
/*

src/include/replication/message.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ typedef struct xl_logical_message
3232
extern XLogRecPtr LogLogicalMessage(const char *prefix, const char *message,
3333
size_t size, bool transactional);
3434

35-
/* RMGR API*/
35+
/* RMGR API */
3636
#define XLOG_LOGICAL_MESSAGE 0x00
3737
void logicalmsg_redo(XLogReaderState *record);
3838
void logicalmsg_desc(StringInfo buf, XLogReaderState *record);

src/include/tsearch/ts_type.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ typedef struct
171171

172172
extern PGDLLIMPORT const int tsearch_op_priority[OP_COUNT];
173173

174-
/* get operation priority by its code*/
174+
/* get operation priority by its code */
175175
#define OP_PRIORITY(x) ( tsearch_op_priority[(x) - 1] )
176176
/* get QueryOperator priority */
177177
#define QO_PRIORITY(x) OP_PRIORITY(((QueryOperator *) (x))->oper)

0 commit comments

Comments
 (0)