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