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

Function dump_exit

src/pl/plpgsql/src/pl_funcs.c:1316–1329  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1314}
1315
1316static void
1317dump_exit(PLpgSQL_stmt_exit *stmt)
1318{
1319 dump_ind();
1320 printf("%s", stmt->is_exit ? "EXIT" : "CONTINUE");
1321 if (stmt->label != NULL)
1322 printf(" label='%s'", stmt->label);
1323 if (stmt->cond != NULL)
1324 {
1325 printf(" WHEN ");
1326 dump_expr(stmt->cond);
1327 }
1328 printf("\n");
1329}
1330
1331static void
1332dump_return(PLpgSQL_stmt_return *stmt)

Callers 1

dump_stmtFunction · 0.85

Calls 2

dump_indFunction · 0.85
dump_exprFunction · 0.85

Tested by

no test coverage detected