Revision 5842
Added by Aaron Marcuse-Kubitza about 12 years ago
schemas/vegbien.my.sql | ||
---|---|---|
145 | 145 |
|
146 | 146 |
|
147 | 147 |
-- |
148 |
-- Name: _m2_to_ha(double precision); Type: FUNCTION; Schema: public; Owner: - |
|
149 |
-- |
|
150 |
|
|
151 |
|
|
152 |
|
|
153 |
|
|
154 |
-- |
|
148 | 155 |
-- Name: _m_to_cm(double precision); Type: FUNCTION; Schema: public; Owner: - |
149 | 156 |
-- |
150 | 157 |
|
schemas/vegbien.sql | ||
---|---|---|
323 | 323 |
|
324 | 324 |
|
325 | 325 |
-- |
326 |
-- Name: _m2_to_ha(double precision); Type: FUNCTION; Schema: public; Owner: - |
|
327 |
-- |
|
328 |
|
|
329 |
CREATE FUNCTION _m2_to_ha(value double precision) RETURNS double precision |
|
330 |
LANGUAGE sql IMMUTABLE STRICT |
|
331 |
AS $_$ |
|
332 |
SELECT $1/10000. |
|
333 |
$_$; |
|
334 |
|
|
335 |
|
|
336 |
-- |
|
326 | 337 |
-- Name: _m_to_cm(double precision); Type: FUNCTION; Schema: public; Owner: - |
327 | 338 |
-- |
328 | 339 |
|
Also available in: Unified diff
schemas/vegbien.sql: Copied _m2_to_ha() to public schema for use by analytical_db_view