Project

General

Profile

« Previous | Next » 

Revision 3435

schemas/py_functions.sql: Disabled _date() because it does not yet output errors in a format parsable by the import process, and the import process does not yet trap errors produced by SQL functions

View differences:

schemas/py_functions.sql
69 69
ALTER FUNCTION py_functions."__namePart"() OWNER TO bien;
70 70

  
71 71
--
72
-- Name: _date(text, text, text, text); Type: FUNCTION; Schema: py_functions; Owner: bien
72
-- Name: _date!(text, text, text, text); Type: FUNCTION; Schema: py_functions; Owner: bien
73 73
--
74 74

  
75
CREATE FUNCTION _date(date text DEFAULT NULL::text, year text DEFAULT NULL::text, month text DEFAULT NULL::text, day text DEFAULT NULL::text) RETURNS text
75
CREATE FUNCTION "_date!"(date text DEFAULT NULL::text, year text DEFAULT NULL::text, month text DEFAULT NULL::text, day text DEFAULT NULL::text) RETURNS text
76 76
    LANGUAGE plpythonu IMMUTABLE
77 77
    AS $$
78 78
global date, year, month, day
......
148 148
$$;
149 149

  
150 150

  
151
ALTER FUNCTION py_functions._date(date text, year text, month text, day text) OWNER TO bien;
151
ALTER FUNCTION py_functions."_date!"(date text, year text, month text, day text) OWNER TO bien;
152 152

  
153 153
--
154 154
-- Name: _dateRangeEnd(text); Type: FUNCTION; Schema: py_functions; Owner: bien

Also available in: Unified diff