MCPcopy Create free account
hub / github.com/apache/cloudberry / findWindowClause

Function findWindowClause

src/backend/parser/parse_clause.c:3840–3854  ·  view source on GitHub ↗

* findWindowClause * Find the named WindowClause in the list, or return NULL if not there */

Source from the content-addressed store, hash-verified

3838 * Find the named WindowClause in the list, or return NULL if not there
3839 */
3840static WindowClause *
3841findWindowClause(List *wclist, const char *name)
3842{
3843 ListCell *l;
3844
3845 foreach(l, wclist)
3846 {
3847 WindowClause *wc = (WindowClause *) lfirst(l);
3848
3849 if (wc->name && strcmp(wc->name, name) == 0)
3850 return wc;
3851 }
3852
3853 return NULL;
3854}
3855
3856/*
3857 * transformFrameOffset

Callers 1

Calls 1

foreachFunction · 0.50

Tested by

no test coverage detected