summaryrefslogtreecommitdiff
path: root/src/include/utils
diff options
context:
space:
mode:
authorTom Lane2021-05-12 17:14:10 +0000
committerTom Lane2021-05-12 17:14:10 +0000
commitdef5b065ff22a16a80084587613599fe15627213 (patch)
tree13f424449b7fb90c85659071b6adf4e27ae6d272 /src/include/utils
parente6ccd1ce1644d1b40b7981f8bc172394de524f99 (diff)
Initial pgindent and pgperltidy run for v14.
Also "make reformat-dat-files". The only change worthy of note is that pgindent messed up the formatting of launcher.c's struct LogicalRepWorkerId, which led me to notice that that struct wasn't used at all anymore, so I just took it out.
Diffstat (limited to 'src/include/utils')
-rw-r--r--src/include/utils/backend_progress.h2
-rw-r--r--src/include/utils/backend_status.h6
-rw-r--r--src/include/utils/builtins.h12
-rw-r--r--src/include/utils/selfuncs.h2
-rw-r--r--src/include/utils/wait_event.h2
5 files changed, 12 insertions, 12 deletions
diff --git a/src/include/utils/backend_progress.h b/src/include/utils/backend_progress.h
index 1714fa09c16..53bddf665b1 100644
--- a/src/include/utils/backend_progress.h
+++ b/src/include/utils/backend_progress.h
@@ -41,4 +41,4 @@ extern void pgstat_progress_update_multi_param(int nparam, const int *index,
extern void pgstat_progress_end_command(void);
-#endif /* BACKEND_PROGRESS_H */
+#endif /* BACKEND_PROGRESS_H */
diff --git a/src/include/utils/backend_status.h b/src/include/utils/backend_status.h
index 0cbcc9c9435..8042b817df5 100644
--- a/src/include/utils/backend_status.h
+++ b/src/include/utils/backend_status.h
@@ -12,7 +12,7 @@
#include "datatype/timestamp.h"
#include "libpq/pqcomm.h"
-#include "miscadmin.h" /* for BackendType */
+#include "miscadmin.h" /* for BackendType */
#include "utils/backend_progress.h"
@@ -273,7 +273,7 @@ extern PGDLLIMPORT int pgstat_track_activity_query_size;
* Other global variables
* ----------
*/
-extern PGDLLIMPORT PgBackendStatus *MyBEEntry;
+extern PGDLLIMPORT PgBackendStatus *MyBEEntry;
/* ----------
@@ -318,4 +318,4 @@ extern LocalPgBackendStatus *pgstat_fetch_stat_local_beentry(int beid);
extern char *pgstat_clip_activity(const char *raw_activity);
-#endif /* BACKEND_STATUS_H */
+#endif /* BACKEND_STATUS_H */
diff --git a/src/include/utils/builtins.h b/src/include/utils/builtins.h
index 27d2f2ffb34..f3ce4fb1739 100644
--- a/src/include/utils/builtins.h
+++ b/src/include/utils/builtins.h
@@ -35,18 +35,18 @@ extern int errdomainconstraint(Oid datatypeOid, const char *conname);
extern int2vector *buildint2vector(const int16 *int2s, int n);
/* name.c */
-extern void namestrcpy(Name name, const char *str);
+extern void namestrcpy(Name name, const char *str);
extern int namestrcmp(Name name, const char *str);
/* numutils.c */
extern int32 pg_atoi(const char *s, int size, int c);
extern int16 pg_strtoint16(const char *s);
extern int32 pg_strtoint32(const char *s);
-extern int pg_itoa(int16 i, char *a);
-extern int pg_ultoa_n(uint32 l, char *a);
-extern int pg_ulltoa_n(uint64 l, char *a);
-extern int pg_ltoa(int32 l, char *a);
-extern int pg_lltoa(int64 ll, char *a);
+extern int pg_itoa(int16 i, char *a);
+extern int pg_ultoa_n(uint32 l, char *a);
+extern int pg_ulltoa_n(uint64 l, char *a);
+extern int pg_ltoa(int32 l, char *a);
+extern int pg_lltoa(int64 ll, char *a);
extern char *pg_ultostr_zeropad(char *str, uint32 value, int32 minwidth);
extern char *pg_ultostr(char *str, uint32 value);
extern uint64 pg_strtouint64(const char *str, char **endptr, int base);
diff --git a/src/include/utils/selfuncs.h b/src/include/utils/selfuncs.h
index 78cde58acc1..9dd444e1ff5 100644
--- a/src/include/utils/selfuncs.h
+++ b/src/include/utils/selfuncs.h
@@ -79,7 +79,7 @@
typedef struct EstimationInfo
{
- uint32 flags; /* Flags, as defined above to mark special
+ uint32 flags; /* Flags, as defined above to mark special
* properties of the estimation. */
} EstimationInfo;
diff --git a/src/include/utils/wait_event.h b/src/include/utils/wait_event.h
index 47accc5ffe2..6c6ec2e7118 100644
--- a/src/include/utils/wait_event.h
+++ b/src/include/utils/wait_event.h
@@ -281,4 +281,4 @@ pgstat_report_wait_end(void)
}
-#endif /* WAIT_EVENT_H */
+#endif /* WAIT_EVENT_H */