* free old value of a text variable and assign new value from C string */
| 8462 | * free old value of a text variable and assign new value from C string |
| 8463 | */ |
| 8464 | static void |
| 8465 | assign_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. |
no test coverage detected