Revision 13455
Added by Aaron Marcuse-Kubitza over 10 years ago
trunk/schemas/util.sql | ||
---|---|---|
1491 | 1491 |
|
1492 | 1492 |
|
1493 | 1493 |
-- |
1494 |
-- Name: eval(text[]); Type: FUNCTION; Schema: util; Owner: - |
|
1495 |
-- |
|
1496 |
|
|
1497 |
CREATE FUNCTION eval(queries text[]) RETURNS void |
|
1498 |
LANGUAGE sql |
|
1499 |
AS $_$ |
|
1500 |
SELECT util.eval(query) FROM unnest($1) query; |
|
1501 |
SELECT NULL::void; -- don't fold away functions called in previous query |
|
1502 |
$_$; |
|
1503 |
|
|
1504 |
|
|
1505 |
-- |
|
1494 | 1506 |
-- Name: eval(text, boolean); Type: FUNCTION; Schema: util; Owner: - |
1495 | 1507 |
-- |
1496 | 1508 |
|
Also available in: Unified diff
schemas/util.sql: added eval(queries text[])