← Back to Overview

src/backend/utils/adt/windowfuncs.c

Coverage: 4/4 lines (100.0%)
Total Lines
4
modified
Covered
4
100.0%
Uncovered
0
0.0%
키보드 네비게이션
window_last_value() lines 686-700
Modified Lines Coverage: 0/0 lines (0.0%)
LineHitsSourceCommit
686 - window_last_value(PG_FUNCTION_ARGS) -
687 - { -
688 - WindowObject winobj = PG_WINDOW_OBJECT(); -
689 - Datum result; -
690 - bool isnull; -
691 - -
692 - WinCheckAndInitializeNullTreatment(winobj, true, fcinfo); -
693 - result = WinGetFuncArgInFrame(winobj, 0, -
694 - 0, WINDOW_SEEK_TAIL, false, 2abe7c8Row pattern recognition patch (executor).
695 - &isnull, NULL); -
696 - if (isnull) -
697 - PG_RETURN_NULL(); -
698 - -
699 - PG_RETURN_DATUM(result); -
700 - } -
window_prev() lines 742-745
Modified Lines Coverage: 2/2 lines (100.0%)
LineHitsSourceCommit
742 4524 window_prev(PG_FUNCTION_ARGS) 2abe7c8Row pattern recognition patch (executor).
743 - { 2abe7c8Row pattern recognition patch (executor).
744 4524 PG_RETURN_DATUM(PG_GETARG_DATUM(0)); 2abe7c8Row pattern recognition patch (executor).
745 - } 2abe7c8Row pattern recognition patch (executor).
window_next() lines 753-756
Modified Lines Coverage: 2/2 lines (100.0%)
LineHitsSourceCommit
753 48 window_next(PG_FUNCTION_ARGS) 2abe7c8Row pattern recognition patch (executor).
754 - { 2abe7c8Row pattern recognition patch (executor).
755 48 PG_RETURN_DATUM(PG_GETARG_DATUM(0)); 2abe7c8Row pattern recognition patch (executor).
756 - } 2abe7c8Row pattern recognition patch (executor).