mirror of
https://github.com/postgres/postgres.git
synced 2025-12-09 02:08:45 +03:00
Pre-beta mechanical code beautification.
Run pgindent, pgperltidy, and reformat-dat-files. This set of diffs is a bit larger than typical. We've updated to pg_bsd_indent 2.1.2, which properly indents variable declarations that have multi-line initialization expressions (the continuation lines are now indented one tab stop). We've also updated to perltidy version 20230309 and changed some of its settings, which reduces its desire to add whitespace to lines to make assignments etc. line up. Going forward, that should make for fewer random-seeming changes to existing code. Discussion: https://postgr.es/m/20230428092545.qfb3y5wcu4cm75ur@alvherre.pgsql
This commit is contained in:
@@ -40,7 +40,7 @@ extern PGDLLIMPORT char *locale_messages;
|
||||
extern PGDLLIMPORT char *locale_monetary;
|
||||
extern PGDLLIMPORT char *locale_numeric;
|
||||
extern PGDLLIMPORT char *locale_time;
|
||||
extern PGDLLIMPORT int icu_validation_level;
|
||||
extern PGDLLIMPORT int icu_validation_level;
|
||||
|
||||
/* lc_time localization cache */
|
||||
extern PGDLLIMPORT char *localized_abbrev_days[];
|
||||
@@ -49,7 +49,7 @@ extern PGDLLIMPORT char *localized_abbrev_months[];
|
||||
extern PGDLLIMPORT char *localized_full_months[];
|
||||
|
||||
/* is the databases's LC_CTYPE the C locale? */
|
||||
extern PGDLLIMPORT bool database_ctype_is_c;
|
||||
extern PGDLLIMPORT bool database_ctype_is_c;
|
||||
|
||||
extern bool check_locale(int category, const char *locale, char **canonname);
|
||||
extern char *pg_perm_setlocale(int category, const char *locale);
|
||||
@@ -104,9 +104,9 @@ extern bool pg_locale_deterministic(pg_locale_t locale);
|
||||
extern pg_locale_t pg_newlocale_from_collation(Oid collid);
|
||||
|
||||
extern char *get_collation_actual_version(char collprovider, const char *collcollate);
|
||||
extern int pg_strcoll(const char *arg1, const char *arg2, pg_locale_t locale);
|
||||
extern int pg_strncoll(const char *arg1, size_t len1,
|
||||
const char *arg2, size_t len2, pg_locale_t locale);
|
||||
extern int pg_strcoll(const char *arg1, const char *arg2, pg_locale_t locale);
|
||||
extern int pg_strncoll(const char *arg1, size_t len1,
|
||||
const char *arg2, size_t len2, pg_locale_t locale);
|
||||
extern bool pg_strxfrm_enabled(pg_locale_t locale);
|
||||
extern size_t pg_strxfrm(char *dest, const char *src, size_t destsize,
|
||||
pg_locale_t locale);
|
||||
|
||||
Reference in New Issue
Block a user