Revision 14196
Added by Aaron Marcuse-Kubitza over 10 years ago
trunk/schemas/util.sql | ||
---|---|---|
4097 | 4097 |
|
4098 | 4098 |
|
4099 | 4099 |
-- |
4100 |
-- Name: regtype(regclass); Type: FUNCTION; Schema: util; Owner: - |
|
4101 |
-- |
|
4102 |
|
|
4103 |
CREATE FUNCTION regtype(regclass regclass) RETURNS regtype |
|
4104 |
LANGUAGE sql IMMUTABLE |
|
4105 |
AS $$ |
|
4106 |
SELECT regclass::text::regtype |
|
4107 |
$$; |
|
4108 |
|
|
4109 |
|
|
4110 |
-- |
|
4100 | 4111 |
-- Name: relation_exists(text); Type: FUNCTION; Schema: util; Owner: - |
4101 | 4112 |
-- |
4102 | 4113 |
|
Also available in: Unified diff
schemas/util.sql: added regtype(regclass)