Project

General

Profile

1 10393 aaronmk
SELECT util.search_path_append('util');
2
3
-- runtime: 0.3 s ("Time: 256.926 ms") @starscream
4
SELECT set_col_types(:table_str, ARRAY[
5
  ('minDBHcm', 'double precision')
6
, ('maxDBHcm', 'double precision')
7
]::col_cast[]);
8
9
10
SELECT mk_derived_col((:table_str, 'diameterBreastHeight_cm'), $$_avg("minDBHcm", "maxDBHcm")$$); -- runtime: 0.4 s ("Time: 431.405 ms") @starscream