Revision 4549
Added by Aaron Marcuse-Kubitza about 12 years ago
schemas/py_functions.sql | ||
---|---|---|
21 | 21 |
SET search_path = py_functions, pg_catalog; |
22 | 22 |
|
23 | 23 |
-- |
24 |
-- Name: _date(timestamp with time zone); Type: FUNCTION; Schema: py_functions; Owner: bien |
|
25 |
-- |
|
26 |
|
|
27 |
CREATE FUNCTION _date(date timestamp with time zone) RETURNS timestamp with time zone |
|
28 |
LANGUAGE sql IMMUTABLE STRICT |
|
29 |
AS $_$ |
|
30 |
SELECT $1 |
|
31 |
$_$; |
|
32 |
|
|
33 |
|
|
34 |
ALTER FUNCTION py_functions._date(date timestamp with time zone) OWNER TO bien; |
|
35 |
|
|
36 |
-- |
|
24 | 37 |
-- Name: _date(text, text, text, text); Type: FUNCTION; Schema: py_functions; Owner: bien |
25 | 38 |
-- |
26 | 39 |
|
Also available in: Unified diff
schemas/py_functions.sql: Added pass-through _date(timestamp) for datasource date columns that are already timestamps