Revision 4764
Added by Aaron Marcuse-Kubitza about 12 years ago
schemas/functions.sql | ||
---|---|---|
62 | 62 |
|
63 | 63 |
|
64 | 64 |
-- |
65 |
-- Name: _ha_to_m2(double precision); Type: FUNCTION; Schema: functions; Owner: - |
|
66 |
-- |
|
67 |
|
|
68 |
CREATE FUNCTION _ha_to_m2(value double precision) RETURNS double precision |
|
69 |
LANGUAGE sql IMMUTABLE STRICT |
|
70 |
AS $_$ |
|
71 |
SELECT $1*10000. |
|
72 |
$_$; |
|
73 |
|
|
74 |
|
|
75 |
-- |
|
65 | 76 |
-- Name: _if(boolean, anyelement, anyelement); Type: FUNCTION; Schema: functions; Owner: - |
66 | 77 |
-- |
67 | 78 |
|
Also available in: Unified diff
schemas/functions.sql: Added _ha_to_m2()