| 393 | } |
| 394 | |
| 395 | static void |
| 396 | init_format_out_config(FormatConfig *format_out_config, int ncolumns, TupleDesc tupdesc, FunctionCallInfo fcinfo) |
| 397 | { |
| 398 | load_format_config(format_out_config, fcinfo); |
| 399 | validate_format_params(format_out_config, tupdesc); |
| 400 | |
| 401 | if (format_out_config->null_value != NULL) |
| 402 | { |
| 403 | fill_null_with_blanks_list(format_out_config); |
| 404 | } |
| 405 | |
| 406 | format_out_config->conv_functions = FORMATTER_GET_CONVERSION_FUNCS(fcinfo); |
| 407 | format_out_config->fldIndexes = CopyGetAttnums(tupdesc, FORMATTER_GET_RELATION(fcinfo), format_out_config->fldNames); |
| 408 | } |
| 409 | |
| 410 | static void |
| 411 | get_tuple_info(TupleDesc tupdesc, int *r_ncolumns, format_t **r_myData, char **data, |
no test coverage detected