Project

General

Profile

« Previous | Next » 

Revision 13355

schemas/util.sql: added _km_to_m() for use when public._km_to_m() is not defined yet

View differences:

trunk/schemas/util.sql
268 268

  
269 269

  
270 270
--
271
-- Name: _km_to_m(double precision); Type: FUNCTION; Schema: util; Owner: -
272
--
273

  
274
CREATE FUNCTION _km_to_m(value double precision) RETURNS double precision
275
    LANGUAGE sql IMMUTABLE
276
    AS $_$
277
SELECT $1*1000.
278
$_$;
279

  
280

  
281
--
271 282
-- Name: _label(text, text); Type: FUNCTION; Schema: util; Owner: -
272 283
--
273 284

  

Also available in: Unified diff