diff options
| author | Daniel Gustafsson | 2025-11-10 11:51:47 +0000 |
|---|---|---|
| committer | Daniel Gustafsson | 2025-11-10 11:51:47 +0000 |
| commit | 3a872ddd64f908ac3dd65c544c2439ecbe737799 (patch) | |
| tree | d1a6f78e1c02277d78b8dac87780e53e7ed1da99 | |
| parent | b23fe993e13612424faaee7ed35c4b830a2c0dfc (diff) | |
One of them submitted by the author, with another one other
spotted during review so this fixes both.
Author: Tender Wang <[email protected]>
Reviewed-by: Daniel Gustafsson <[email protected]>
Discussion: https://postgr.es/m/CAHewXN=eNx2oJ_hzxJrkSvy-1A5Qf45SM8pxERWXE+6RoZyFrw@mail.gmail.com
| -rw-r--r-- | src/backend/executor/nodeWindowAgg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/executor/nodeWindowAgg.c b/src/backend/executor/nodeWindowAgg.c index fda66f24e55..3a0d1f0c922 100644 --- a/src/backend/executor/nodeWindowAgg.c +++ b/src/backend/executor/nodeWindowAgg.c @@ -239,7 +239,7 @@ static void put_notnull_info(WindowObject winobj, #define NN_POS_TO_BYTES(pos) ((pos) / NN_ITEM_PER_VAR) /* bytes offset to map position */ #define NN_BYTES_TO_POS(bytes) ((bytes) * NN_ITEM_PER_VAR) -/* caculate shift bits */ +/* calculate shift bits */ #define NN_SHIFT(pos) ((pos) % NN_ITEM_PER_VAR) * NN_BITS_PER_MEMBER /* @@ -3287,7 +3287,7 @@ window_gettupleslot(WindowObject winobj, int64 pos, TupleTableSlot *slot) } /* gettuple_eval_partition - * get tuple in a patition and evaluate the window function's argument + * get tuple in a partition and evaluate the window function's argument * expression on it. */ static Datum |
