Revision 8083
Added by Aaron Marcuse-Kubitza over 11 years ago
schemas/functions.sql | ||
---|---|---|
500 | 500 |
|
501 | 501 |
|
502 | 502 |
-- |
503 |
-- Name: name(regtype); Type: FUNCTION; Schema: functions; Owner: - |
|
504 |
-- |
|
505 |
|
|
506 |
CREATE FUNCTION name(type regtype) RETURNS text |
|
507 |
LANGUAGE sql STABLE |
|
508 |
AS $_$ |
|
509 |
SELECT typname::text FROM pg_type WHERE oid = $1 |
|
510 |
$_$; |
|
511 |
|
|
512 |
|
|
513 |
-- |
|
503 | 514 |
-- Name: join_strs(text, text); Type: AGGREGATE; Schema: functions; Owner: - |
504 | 515 |
-- |
505 | 516 |
|
Also available in: Unified diff
schemas/functions.sql: Added name(regtype)