mirror of
https://github.com/postgres/postgres.git
synced 2025-12-21 05:21:08 +03:00
Phase 2 pgindent run for v12.
Switch to 2.1 version of pg_bsd_indent. This formats multiline function declarations "correctly", that is with additional lines of parameter declarations indented to match where the first line's left parenthesis is. Discussion: https://postgr.es/m/CAEepm=0P3FeTXRcU5B2W3jv3PgRVZ-kGUXLGfd42FFhUROO3ug@mail.gmail.com
This commit is contained in:
@@ -25,7 +25,7 @@ extern bool parse_bool_with_len(const char *value, size_t len, bool *result);
|
||||
|
||||
/* domains.c */
|
||||
extern void domain_check(Datum value, bool isnull, Oid domainType,
|
||||
void **extra, MemoryContext mcxt);
|
||||
void **extra, MemoryContext mcxt);
|
||||
extern int errdatatype(Oid datatypeOid);
|
||||
extern int errdomainconstraint(Oid datatypeOid, const char *conname);
|
||||
|
||||
@@ -59,17 +59,17 @@ extern int oid_cmp(const void *p1, const void *p2);
|
||||
|
||||
/* regexp.c */
|
||||
extern char *regexp_fixed_prefix(text *text_re, bool case_insensitive,
|
||||
Oid collation, bool *exact);
|
||||
Oid collation, bool *exact);
|
||||
|
||||
/* ruleutils.c */
|
||||
extern bool quote_all_identifiers;
|
||||
extern const char *quote_identifier(const char *ident);
|
||||
extern char *quote_qualified_identifier(const char *qualifier,
|
||||
const char *ident);
|
||||
const char *ident);
|
||||
extern void generate_operator_clause(fmStringInfo buf,
|
||||
const char *leftop, Oid leftoptype,
|
||||
Oid opoid,
|
||||
const char *rightop, Oid rightoptype);
|
||||
const char *leftop, Oid leftoptype,
|
||||
Oid opoid,
|
||||
const char *rightop, Oid rightoptype);
|
||||
|
||||
/* varchar.c */
|
||||
extern int bpchartruelen(char *s, int len);
|
||||
@@ -88,11 +88,11 @@ extern int xidComparator(const void *arg1, const void *arg2);
|
||||
|
||||
/* inet_cidr_ntop.c */
|
||||
extern char *inet_cidr_ntop(int af, const void *src, int bits,
|
||||
char *dst, size_t size);
|
||||
char *dst, size_t size);
|
||||
|
||||
/* inet_net_pton.c */
|
||||
extern int inet_net_pton(int af, const char *src,
|
||||
void *dst, size_t size);
|
||||
extern int inet_net_pton(int af, const char *src,
|
||||
void *dst, size_t size);
|
||||
|
||||
/* network.c */
|
||||
extern double convert_network_to_scalar(Datum value, Oid typid, bool *failure);
|
||||
|
||||
Reference in New Issue
Block a user