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

Function assign_text_var

src/pl/plpgsql/src/pl_exec.c:8464–8468  ·  view source on GitHub ↗

* free old value of a text variable and assign new value from C string */

Source from the content-addressed store, hash-verified

8462 * free old value of a text variable and assign new value from C string
8463 */
8464static void
8465assign_text_var(PLpgSQL_execstate *estate, PLpgSQL_var *var, const char *str)
8466{
8467 assign_simple_var(estate, var, CStringGetTextDatum(str), false, true);
8468}
8469
8470/*
8471 * assign_record_var --- assign a new value to any REC datum.

Callers 4

plpgsql_fulfill_promiseFunction · 0.85
exec_stmt_blockFunction · 0.85
exec_stmt_forcFunction · 0.85
exec_stmt_openFunction · 0.85

Calls 1

assign_simple_varFunction · 0.85

Tested by

no test coverage detected