# select fwa_watershedatmeasure(356528119, 0);
ERROR: more than one row returned by a subquery used as an expression
CONTEXT: PL/pgSQL function fwa_watershedatmeasure(integer,double precision) line 26 at RETURN QUERY
If a point is a measure zero, no convoluted logic is needed - just select everything upstream. Even an upstream query is not needed, an ltree comparison of the watershed code is fine.
https://github.com/poissonconsulting/fwatlasbc/issues/16