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

Function foreach

gpcontrib/gpcloud/src/gpcloud.cpp:139–146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

137 ListCell *option;
138
139 foreach (option, fmtopts) {
140 DefElem *defel = (DefElem *)lfirst(option);
141 if (strcmp(defel->defname, "header") == 0) {
142 hasHeader = defGetBoolean(defel);
143 } else if (strcmp(defel->defname, "newline") == 0) {
144 newline_str = defGetString(defel);
145 }
146 }
147
148 // default end-of-line terminator
149 eolString[0] = '\n';

Callers 15

getIOLimitStatsFunction · 0.50
filterListFunction · 0.50
dbms_sql_debug_cursorFunction · 0.50
get_varFunction · 0.50
get_colFunction · 0.50
executeFunction · 0.50
PxfSerializeFilterListFunction · 0.50
SerializePxfFilterQualsFunction · 0.50
extractPxfAttributesFunction · 0.50

Calls 2

defGetBooleanFunction · 0.85
defGetStringFunction · 0.85

Tested by

no test coverage detected