4 open (OUT, "| psql -U helm helm_mowgli_new_schema");
12 print OUT "create table t$max (prop_id varchar, position varchar, uri varchar, depth int);";
13 print OUT "insert into registry values ('$uri1', $max);";
16 ($dir,$context,$uri2,$depth) = split(/\|/);
17 print " Inserisco $dir#$context#$uri2#$depth\n";
19 print OUT "insert into t$max values ('$dir', '$context', '$uri2', $depth);";