Project

General

Profile

« Previous | Next » 

Revision 12587

schemas/util.sql: drop_relation(regclass): support any type that has a util.relation_type()

View differences:

trunk/schemas/util.sql
1146 1146

  
1147 1147

  
1148 1148
--
1149
-- Name: drop_relation(regclass, boolean); Type: FUNCTION; Schema: util; Owner: -
1149
-- Name: drop_relation(anyelement, boolean); Type: FUNCTION; Schema: util; Owner: -
1150 1150
--
1151 1151

  
1152
CREATE FUNCTION drop_relation(relation regclass, force boolean DEFAULT false) RETURNS void
1152
CREATE FUNCTION drop_relation(relation anyelement, force boolean DEFAULT false) RETURNS void
1153 1153
    LANGUAGE sql
1154 1154
    AS $_$
1155 1155
/* use util.qual_name() instead of ::text so that the schema qualifier is always

Also available in: Unified diff