Revision 4776
Added by Aaron Marcuse-Kubitza about 12 years ago
schemas/functions.sql | ||
---|---|---|
73 | 73 |
|
74 | 74 |
|
75 | 75 |
-- |
76 |
-- Name: _ha_to_m2(text); Type: FUNCTION; Schema: functions; Owner: - |
|
77 |
-- |
|
78 |
|
|
79 |
CREATE FUNCTION _ha_to_m2(value text) RETURNS double precision |
|
80 |
LANGUAGE sql IMMUTABLE STRICT |
|
81 |
AS $_$ |
|
82 |
SELECT functions._ha_to_m2($1::double precision) |
|
83 |
$_$; |
|
84 |
|
|
85 |
|
|
86 |
-- |
|
76 | 87 |
-- Name: _if(boolean, anyelement, anyelement); Type: FUNCTION; Schema: functions; Owner: - |
77 | 88 |
-- |
78 | 89 |
|
... | ... | |
216 | 227 |
|
217 | 228 |
|
218 | 229 |
-- |
230 |
-- Name: _pct_to_frac(text); Type: FUNCTION; Schema: functions; Owner: - |
|
231 |
-- |
|
232 |
|
|
233 |
CREATE FUNCTION _pct_to_frac(value text) RETURNS double precision |
|
234 |
LANGUAGE sql IMMUTABLE STRICT |
|
235 |
AS $_$ |
|
236 |
SELECT functions._pct_to_frac($1::double precision) |
|
237 |
$_$; |
|
238 |
|
|
239 |
|
|
240 |
-- |
|
219 | 241 |
-- Name: join_strs_transform(text, text, text); Type: FUNCTION; Schema: functions; Owner: - |
220 | 242 |
-- |
221 | 243 |
|
Also available in: Unified diff
schemas/functions.sql: Added _ha_to_m2(text), _pct_to_frac(text)