my $sth4 = $dbh->prepare("select (ST_dumprings(?)).geom as rings");
while ($row = $sth->fetchrow_hashref()) {
if ($xtable eq 'planet_osm_polygon1') {
my $sth4 = $dbh->prepare("select (ST_dumprings(?)).geom as rings");
while ($row = $sth->fetchrow_hashref()) {
if ($xtable eq 'planet_osm_polygon1') {