mirror of
https://github.com/postgres/postgres.git
synced 2025-07-21 16:02:15 +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:
@ -158,43 +158,43 @@ typedef struct WindowStatePerAggData
|
||||
} WindowStatePerAggData;
|
||||
|
||||
static void initialize_windowaggregate(WindowAggState *winstate,
|
||||
WindowStatePerFunc perfuncstate,
|
||||
WindowStatePerAgg peraggstate);
|
||||
WindowStatePerFunc perfuncstate,
|
||||
WindowStatePerAgg peraggstate);
|
||||
static void advance_windowaggregate(WindowAggState *winstate,
|
||||
WindowStatePerFunc perfuncstate,
|
||||
WindowStatePerAgg peraggstate);
|
||||
WindowStatePerFunc perfuncstate,
|
||||
WindowStatePerAgg peraggstate);
|
||||
static bool advance_windowaggregate_base(WindowAggState *winstate,
|
||||
WindowStatePerFunc perfuncstate,
|
||||
WindowStatePerAgg peraggstate);
|
||||
WindowStatePerFunc perfuncstate,
|
||||
WindowStatePerAgg peraggstate);
|
||||
static void finalize_windowaggregate(WindowAggState *winstate,
|
||||
WindowStatePerFunc perfuncstate,
|
||||
WindowStatePerAgg peraggstate,
|
||||
Datum *result, bool *isnull);
|
||||
WindowStatePerFunc perfuncstate,
|
||||
WindowStatePerAgg peraggstate,
|
||||
Datum *result, bool *isnull);
|
||||
|
||||
static void eval_windowaggregates(WindowAggState *winstate);
|
||||
static void eval_windowfunction(WindowAggState *winstate,
|
||||
WindowStatePerFunc perfuncstate,
|
||||
Datum *result, bool *isnull);
|
||||
WindowStatePerFunc perfuncstate,
|
||||
Datum *result, bool *isnull);
|
||||
|
||||
static void begin_partition(WindowAggState *winstate);
|
||||
static void spool_tuples(WindowAggState *winstate, int64 pos);
|
||||
static void release_partition(WindowAggState *winstate);
|
||||
|
||||
static int row_is_in_frame(WindowAggState *winstate, int64 pos,
|
||||
TupleTableSlot *slot);
|
||||
static int row_is_in_frame(WindowAggState *winstate, int64 pos,
|
||||
TupleTableSlot *slot);
|
||||
static void update_frameheadpos(WindowAggState *winstate);
|
||||
static void update_frametailpos(WindowAggState *winstate);
|
||||
static void update_grouptailpos(WindowAggState *winstate);
|
||||
|
||||
static WindowStatePerAggData *initialize_peragg(WindowAggState *winstate,
|
||||
WindowFunc *wfunc,
|
||||
WindowStatePerAgg peraggstate);
|
||||
WindowFunc *wfunc,
|
||||
WindowStatePerAgg peraggstate);
|
||||
static Datum GetAggInitVal(Datum textInitVal, Oid transtype);
|
||||
|
||||
static bool are_peers(WindowAggState *winstate, TupleTableSlot *slot1,
|
||||
TupleTableSlot *slot2);
|
||||
TupleTableSlot *slot2);
|
||||
static bool window_gettupleslot(WindowObject winobj, int64 pos,
|
||||
TupleTableSlot *slot);
|
||||
TupleTableSlot *slot);
|
||||
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user