Revision 4773
Added by Aaron Marcuse-Kubitza about 12 years ago
functions.sql | ||
---|---|---|
117 | 117 |
|
118 | 118 |
|
119 | 119 |
-- |
120 |
-- Name: _m2_to_ha(double precision); Type: FUNCTION; Schema: functions; Owner: - |
|
121 |
-- |
|
122 |
|
|
123 |
CREATE FUNCTION _m2_to_ha(value double precision) RETURNS double precision |
|
124 |
LANGUAGE sql IMMUTABLE STRICT |
|
125 |
AS $_$ |
|
126 |
SELECT $1/10000. |
|
127 |
$_$; |
|
128 |
|
|
129 |
|
|
130 |
-- |
|
120 | 131 |
-- Name: _merge(anyelement, anyelement, anyelement, anyelement, anyelement, anyelement, anyelement, anyelement, anyelement, anyelement); Type: FUNCTION; Schema: functions; Owner: - |
121 | 132 |
-- |
122 | 133 |
|
Also available in: Unified diff
schemas/functions.sql: Added _m2_to_ha()