Revision 12372
Added by Aaron Marcuse-Kubitza almost 11 years ago
trunk/schemas/util.sql | ||
---|---|---|
1514 | 1514 |
|
1515 | 1515 |
|
1516 | 1516 |
-- |
1517 |
-- Name: func2regprocedure(regproc); Type: FUNCTION; Schema: util; Owner: - |
|
1518 |
-- |
|
1519 |
|
|
1520 |
CREATE FUNCTION func2regprocedure(func regproc) RETURNS regprocedure |
|
1521 |
LANGUAGE sql IMMUTABLE |
|
1522 |
AS $_$ |
|
1523 |
SELECT $1::oid::regprocedure |
|
1524 |
$_$; |
|
1525 |
|
|
1526 |
|
|
1527 |
-- |
|
1517 | 1528 |
-- Name: grants_users(); Type: FUNCTION; Schema: util; Owner: - |
1518 | 1529 |
-- |
1519 | 1530 |
|
Also available in: Unified diff
schemas/util.sql: added func2regprocedure(regproc)