define_simple_action.sql 171 B

12345678910
  1. /* syntax version 1 */
  2. /* postgres can not */
  3. define action $action($b,$c) as
  4. $d = $b + $c;
  5. select $b;
  6. select $c;
  7. select $d;
  8. end define;
  9. do $action(1,2);