Revision 6007
Added by Aaron Marcuse-Kubitza about 12 years ago
schemas/vegbien.my.sql | ||
---|---|---|
187 | 187 |
|
188 | 188 |
|
189 | 189 |
-- |
190 |
-- Name: _m_to_km(double precision); Type: FUNCTION; Schema: public; Owner: - |
|
191 |
-- |
|
192 |
|
|
193 |
|
|
194 |
|
|
195 |
|
|
196 |
-- |
|
190 | 197 |
-- Name: _percent_to_fraction(double precision); Type: FUNCTION; Schema: public; Owner: - |
191 | 198 |
-- |
192 | 199 |
|
schemas/vegbien.sql | ||
---|---|---|
390 | 390 |
|
391 | 391 |
|
392 | 392 |
-- |
393 |
-- Name: _m_to_km(double precision); Type: FUNCTION; Schema: public; Owner: - |
|
394 |
-- |
|
395 |
|
|
396 |
CREATE FUNCTION _m_to_km(value double precision) RETURNS double precision |
|
397 |
LANGUAGE sql IMMUTABLE STRICT |
|
398 |
AS $_$ |
|
399 |
SELECT $1/1000. |
|
400 |
$_$; |
|
401 |
|
|
402 |
|
|
403 |
-- |
|
393 | 404 |
-- Name: _percent_to_fraction(double precision); Type: FUNCTION; Schema: public; Owner: - |
394 | 405 |
-- |
395 | 406 |
|
Also available in: Unified diff
schemas/vegbien.sql: Added _m_to_km()