There is no error generated by shp2pgsql that I can see.<br><br>Doing it in two steps, only creates an empty table.<br><br>Strangely if I use PostgreSQL 8.2 with Postgis 1.3.2, everything works fine.<br><br><div><span class="gmail_quote">On 03/03/2008, <b class="gmail_sendername">Paul Ramsey</b> <<a href="mailto:pramsey@cleverelephant.ca">pramsey@cleverelephant.ca</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Sometimes the pipe operation ain't great on Windows, try doing it in two steps<br> <br> shp2psql > file.sql<br> psql -f file.sql<br> <br><br> On 2/28/08, Intengu Technologies <<a href="mailto:sindile.bidla@gmail.com">sindile.bidla@gmail.com</a>> wrote:<br>
 > I am running Windows with Postgis 1.3.2 (installed using Appication Stack<br> > Builder) on Postgresql 8.3 on running shp2pgsql.exe -s 4148 c:\province.shp<br> > province | psql -d spatialdb -U username and then entering password, the<br>
 > table is not loaded.  What could I be doing wrong.<br> >  --<br> > Sindile Bidla<br> <br>> _______________________________________________<br> >  postgis-users mailing list<br> >  <a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br>
 > <a href="http://postgis.refractions.net/mailman/listinfo/postgis-users">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br> ><br> ><br> _______________________________________________<br> postgis-users mailing list<br>
 <a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br> <a href="http://postgis.refractions.net/mailman/listinfo/postgis-users">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>
 </blockquote></div><br><br clear="all"><br>-- <br>Sindile Bidla