blob: 3008cf3a1c09f635372903a18c596aab1c91c53b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
/* syntax version 1 */
/* postgres can not */
define action $action($b,$c) as
$d = $b + $c;
select $b;
select $c;
select $d;
end define;
define action $closure_action($a) as
do $a(3,4);
end define;
do $closure_action($action);
|