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

Function setNamespaceLateralState

src/backend/parser/parse_clause.c:1917–1929  ·  view source on GitHub ↗

* setNamespaceLateralState - * Convenience subroutine to update LATERAL flags in a namespace list. */

Source from the content-addressed store, hash-verified

1915 * Convenience subroutine to update LATERAL flags in a namespace list.
1916 */
1917static void
1918setNamespaceLateralState(List *namespace, bool lateral_only, bool lateral_ok)
1919{
1920 ListCell *lc;
1921
1922 foreach(lc, namespace)
1923 {
1924 ParseNamespaceItem *nsitem = (ParseNamespaceItem *) lfirst(lc);
1925
1926 nsitem->p_lateral_only = lateral_only;
1927 nsitem->p_lateral_ok = lateral_ok;
1928 }
1929}
1930
1931
1932/*

Callers 3

transformFromClauseFunction · 0.85
transformJoinOnClauseFunction · 0.85
transformFromClauseItemFunction · 0.85

Calls 1

foreachFunction · 0.50

Tested by

no test coverage detected