summaryrefslogtreecommitdiff
path: root/src/common/unicode_category.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2024-05-14 16:34:50 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2024-05-14 16:34:50 -0400
commitda256a4a7fdcca35fe7ca808686ad3de6ee22306 (patch)
tree863d6a21cd148b40add73ae45bdedcf0acc001ee /src/common/unicode_category.c
parent3ddbac368c205fce1f293de1fe60c1b479800746 (diff)
Pre-beta mechanical code beautification.
Run pgindent, pgperltidy, and reformat-dat-files. The pgindent part of this is pretty small, consisting mainly of fixing up self-inflicted formatting damage from patches that hadn't bothered to add their new typedefs to typedefs.list. In order to keep it from making anything worse, I manually added a dozen or so typedefs that appeared in the existing typedefs.list but not in the buildfarm's list. Perhaps we should formalize that, or better find a way to get those typedefs into the automatic list. pgperltidy is as opinionated as always, and reformat-dat-files too.
Diffstat (limited to 'src/common/unicode_category.c')
-rw-r--r--src/common/unicode_category.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/unicode_category.c b/src/common/unicode_category.c
index 359e82ec316..a615a905678 100644
--- a/src/common/unicode_category.c
+++ b/src/common/unicode_category.c
@@ -75,7 +75,7 @@
#define PG_U_CHARACTER_TAB 0x09
-static bool range_search(const pg_unicode_range * tbl, size_t size,
+static bool range_search(const pg_unicode_range *tbl, size_t size,
pg_wchar code);
/*
@@ -478,7 +478,7 @@ unicode_category_abbrev(pg_unicode_category category)
* given table.
*/
static bool
-range_search(const pg_unicode_range * tbl, size_t size, pg_wchar code)
+range_search(const pg_unicode_range *tbl, size_t size, pg_wchar code)
{
int min = 0;
int mid;