Run pgindent again on the same file.
authorJeff Davis <[email protected]>
Tue, 5 Mar 2024 19:16:23 +0000 (11:16 -0800)
committerJeff Davis <[email protected]>
Tue, 5 Mar 2024 19:16:23 +0000 (11:16 -0800)
Apparently, pgindent got confused by the double space. The first time
I ran it, it moved the function name to the next line. The second time
I ran it, it moved the function name back, but without the double
space.

Now the results appear stable.

src/backend/utils/activity/backend_status.c

index e3ed0a2271cac4ee10997a97a51ed8d7ddf57f34..1ccf4c6d839e1503c9ba8fef6ba09521a685fd13 100644 (file)
@@ -831,8 +831,8 @@ pgstat_read_current_status(void)
            /*
             * The BackendStatusArray index is exactly the ProcNumber of the
             * source backend.  Note that this means localBackendStatusTable
-            * is in order by proc_number.
-            * pgstat_get_beentry_by_proc_number() depends on that.
+            * is in order by proc_number. pgstat_get_beentry_by_proc_number()
+            * depends on that.
             */
            localentry->proc_number = procNumber;
            ProcNumberGetTransactionIds(procNumber,