Project

General

Profile

« Previous | Next » 

Revision 12339

schemas/util.sql: added relation_type(character)

View differences:

trunk/schemas/util.sql
2231 2231

  
2232 2232

  
2233 2233
--
2234
-- Name: relation_type(character); Type: FUNCTION; Schema: util; Owner: -
2235
--
2236

  
2237
CREATE FUNCTION relation_type(relation_type_char character) RETURNS character
2238
    LANGUAGE sql IMMUTABLE
2239
    AS $_$
2240
SELECT 'r=>TABLE, v=>VIEW'::hstore -> $1
2241
$_$;
2242

  
2243

  
2244
--
2234 2245
-- Name: remake_diff_table(text, regclass, regclass, text); Type: FUNCTION; Schema: util; Owner: -
2235 2246
--
2236 2247

  

Also available in: Unified diff