podes usar o comando COPY [1].<br><br>exemplo:<br><br><b>copy tabela_destino from &#39;/home/user/ficheiro.csv&#39; using delimiters &#39;,&#39; with null as &#39;NULL&#39;;</b><br><br>se o delimitador for uma tabulação e os nulos igual a campos em branco, então podes fazer assim:<br>
<br><b>copy tabela_destino from &#39;/home/user/ficheiro.csv&#39;;<br><br></b>boa sorte.<b><br></b>xau,<br><br>[1] <a href="http://www.postgresql.org/docs/8.3/static/sql-copy.html">http://www.postgresql.org/docs/8.3/static/sql-copy.html</a><br>
<br><br>-- <br>Eloi Ribeiro<br>GIS Analyst<br>39.45º -4.40º<br><a href="http://eloiribeiro.wordpress.com">http://eloiribeiro.wordpress.com</a><br><br>