Revision 12341
Added by Aaron Marcuse-Kubitza almost 11 years ago
util.sql | ||
---|---|---|
2242 | 2242 |
|
2243 | 2243 |
|
2244 | 2244 |
-- |
2245 |
-- Name: relation_type_char(regclass); Type: FUNCTION; Schema: util; Owner: - |
|
2246 |
-- |
|
2247 |
|
|
2248 |
CREATE FUNCTION relation_type_char(relation regclass) RETURNS "char" |
|
2249 |
LANGUAGE sql STABLE |
|
2250 |
AS $_$ |
|
2251 |
SELECT relkind FROM pg_class WHERE oid = $1 |
|
2252 |
$_$; |
|
2253 |
|
|
2254 |
|
|
2255 |
-- |
|
2245 | 2256 |
-- Name: remake_diff_table(text, regclass, regclass, text); Type: FUNCTION; Schema: util; Owner: - |
2246 | 2257 |
-- |
2247 | 2258 |
|
Also available in: Unified diff
schemas/util.sql: added relation_type_char(regclass)