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:
@@ -333,92 +333,92 @@ extern bool Array_nulls;
|
||||
* prototypes for functions defined in arrayfuncs.c
|
||||
*/
|
||||
extern void CopyArrayEls(ArrayType *array,
|
||||
Datum *values,
|
||||
bool *nulls,
|
||||
int nitems,
|
||||
int typlen,
|
||||
bool typbyval,
|
||||
char typalign,
|
||||
bool freedata);
|
||||
Datum *values,
|
||||
bool *nulls,
|
||||
int nitems,
|
||||
int typlen,
|
||||
bool typbyval,
|
||||
char typalign,
|
||||
bool freedata);
|
||||
|
||||
extern Datum array_get_element(Datum arraydatum, int nSubscripts, int *indx,
|
||||
int arraytyplen, int elmlen, bool elmbyval, char elmalign,
|
||||
bool *isNull);
|
||||
int arraytyplen, int elmlen, bool elmbyval, char elmalign,
|
||||
bool *isNull);
|
||||
extern Datum array_set_element(Datum arraydatum, int nSubscripts, int *indx,
|
||||
Datum dataValue, bool isNull,
|
||||
int arraytyplen, int elmlen, bool elmbyval, char elmalign);
|
||||
Datum dataValue, bool isNull,
|
||||
int arraytyplen, int elmlen, bool elmbyval, char elmalign);
|
||||
extern Datum array_get_slice(Datum arraydatum, int nSubscripts,
|
||||
int *upperIndx, int *lowerIndx,
|
||||
bool *upperProvided, bool *lowerProvided,
|
||||
int arraytyplen, int elmlen, bool elmbyval, char elmalign);
|
||||
int *upperIndx, int *lowerIndx,
|
||||
bool *upperProvided, bool *lowerProvided,
|
||||
int arraytyplen, int elmlen, bool elmbyval, char elmalign);
|
||||
extern Datum array_set_slice(Datum arraydatum, int nSubscripts,
|
||||
int *upperIndx, int *lowerIndx,
|
||||
bool *upperProvided, bool *lowerProvided,
|
||||
Datum srcArrayDatum, bool isNull,
|
||||
int arraytyplen, int elmlen, bool elmbyval, char elmalign);
|
||||
int *upperIndx, int *lowerIndx,
|
||||
bool *upperProvided, bool *lowerProvided,
|
||||
Datum srcArrayDatum, bool isNull,
|
||||
int arraytyplen, int elmlen, bool elmbyval, char elmalign);
|
||||
|
||||
extern Datum array_ref(ArrayType *array, int nSubscripts, int *indx,
|
||||
int arraytyplen, int elmlen, bool elmbyval, char elmalign,
|
||||
bool *isNull);
|
||||
int arraytyplen, int elmlen, bool elmbyval, char elmalign,
|
||||
bool *isNull);
|
||||
extern ArrayType *array_set(ArrayType *array, int nSubscripts, int *indx,
|
||||
Datum dataValue, bool isNull,
|
||||
int arraytyplen, int elmlen, bool elmbyval, char elmalign);
|
||||
Datum dataValue, bool isNull,
|
||||
int arraytyplen, int elmlen, bool elmbyval, char elmalign);
|
||||
|
||||
extern Datum array_map(Datum arrayd,
|
||||
struct ExprState *exprstate, struct ExprContext *econtext,
|
||||
Oid retType, ArrayMapState *amstate);
|
||||
struct ExprState *exprstate, struct ExprContext *econtext,
|
||||
Oid retType, ArrayMapState *amstate);
|
||||
|
||||
extern void array_bitmap_copy(bits8 *destbitmap, int destoffset,
|
||||
const bits8 *srcbitmap, int srcoffset,
|
||||
int nitems);
|
||||
const bits8 *srcbitmap, int srcoffset,
|
||||
int nitems);
|
||||
|
||||
extern ArrayType *construct_array(Datum *elems, int nelems,
|
||||
Oid elmtype,
|
||||
int elmlen, bool elmbyval, char elmalign);
|
||||
Oid elmtype,
|
||||
int elmlen, bool elmbyval, char elmalign);
|
||||
extern ArrayType *construct_md_array(Datum *elems,
|
||||
bool *nulls,
|
||||
int ndims,
|
||||
int *dims,
|
||||
int *lbs,
|
||||
Oid elmtype, int elmlen, bool elmbyval, char elmalign);
|
||||
bool *nulls,
|
||||
int ndims,
|
||||
int *dims,
|
||||
int *lbs,
|
||||
Oid elmtype, int elmlen, bool elmbyval, char elmalign);
|
||||
extern ArrayType *construct_empty_array(Oid elmtype);
|
||||
extern ExpandedArrayHeader *construct_empty_expanded_array(Oid element_type,
|
||||
MemoryContext parentcontext,
|
||||
ArrayMetaState *metacache);
|
||||
MemoryContext parentcontext,
|
||||
ArrayMetaState *metacache);
|
||||
extern void deconstruct_array(ArrayType *array,
|
||||
Oid elmtype,
|
||||
int elmlen, bool elmbyval, char elmalign,
|
||||
Datum **elemsp, bool **nullsp, int *nelemsp);
|
||||
Oid elmtype,
|
||||
int elmlen, bool elmbyval, char elmalign,
|
||||
Datum **elemsp, bool **nullsp, int *nelemsp);
|
||||
extern bool array_contains_nulls(ArrayType *array);
|
||||
|
||||
extern ArrayBuildState *initArrayResult(Oid element_type,
|
||||
MemoryContext rcontext, bool subcontext);
|
||||
MemoryContext rcontext, bool subcontext);
|
||||
extern ArrayBuildState *accumArrayResult(ArrayBuildState *astate,
|
||||
Datum dvalue, bool disnull,
|
||||
Oid element_type,
|
||||
MemoryContext rcontext);
|
||||
Datum dvalue, bool disnull,
|
||||
Oid element_type,
|
||||
MemoryContext rcontext);
|
||||
extern Datum makeArrayResult(ArrayBuildState *astate,
|
||||
MemoryContext rcontext);
|
||||
MemoryContext rcontext);
|
||||
extern Datum makeMdArrayResult(ArrayBuildState *astate, int ndims,
|
||||
int *dims, int *lbs, MemoryContext rcontext, bool release);
|
||||
int *dims, int *lbs, MemoryContext rcontext, bool release);
|
||||
|
||||
extern ArrayBuildStateArr *initArrayResultArr(Oid array_type, Oid element_type,
|
||||
MemoryContext rcontext, bool subcontext);
|
||||
MemoryContext rcontext, bool subcontext);
|
||||
extern ArrayBuildStateArr *accumArrayResultArr(ArrayBuildStateArr *astate,
|
||||
Datum dvalue, bool disnull,
|
||||
Oid array_type,
|
||||
MemoryContext rcontext);
|
||||
Datum dvalue, bool disnull,
|
||||
Oid array_type,
|
||||
MemoryContext rcontext);
|
||||
extern Datum makeArrayResultArr(ArrayBuildStateArr *astate,
|
||||
MemoryContext rcontext, bool release);
|
||||
MemoryContext rcontext, bool release);
|
||||
|
||||
extern ArrayBuildStateAny *initArrayResultAny(Oid input_type,
|
||||
MemoryContext rcontext, bool subcontext);
|
||||
MemoryContext rcontext, bool subcontext);
|
||||
extern ArrayBuildStateAny *accumArrayResultAny(ArrayBuildStateAny *astate,
|
||||
Datum dvalue, bool disnull,
|
||||
Oid input_type,
|
||||
MemoryContext rcontext);
|
||||
Datum dvalue, bool disnull,
|
||||
Oid input_type,
|
||||
MemoryContext rcontext);
|
||||
extern Datum makeArrayResultAny(ArrayBuildStateAny *astate,
|
||||
MemoryContext rcontext, bool release);
|
||||
MemoryContext rcontext, bool release);
|
||||
|
||||
extern ArrayIterator array_create_iterator(ArrayType *arr, int slice_ndim, ArrayMetaState *mstate);
|
||||
extern bool array_iterate(ArrayIterator iterator, Datum *value, bool *isnull);
|
||||
@@ -441,10 +441,10 @@ extern int32 *ArrayGetIntegerTypmods(ArrayType *arr, int *n);
|
||||
* prototypes for functions defined in array_expanded.c
|
||||
*/
|
||||
extern Datum expand_array(Datum arraydatum, MemoryContext parentcontext,
|
||||
ArrayMetaState *metacache);
|
||||
ArrayMetaState *metacache);
|
||||
extern ExpandedArrayHeader *DatumGetExpandedArray(Datum d);
|
||||
extern ExpandedArrayHeader *DatumGetExpandedArrayX(Datum d,
|
||||
ArrayMetaState *metacache);
|
||||
ArrayMetaState *metacache);
|
||||
extern AnyArrayType *DatumGetAnyArrayP(Datum d);
|
||||
extern void deconstruct_expanded_array(ExpandedArrayHeader *eah);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user