\i wm.sql

select ST_SimplifyWM_DEBUG(way) from agg_rivers;
