<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">When did this become available?<br><br>I'm using pgsql2shp from Postgis version 1.5.3 for Linux, which is pretty current, and that is not a listed command line option.<br><br>Cheers,<br><br>   Brent Wood<br><br>--- On <b>Mon, 1/30/12, Richard Greenwood <i><richard.greenwood@gmail.com></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Richard Greenwood <richard.greenwood@gmail.com><br>Subject: Re: [postgis-users] tool to load dbf into postgresql table<br>To: "PostGIS Users Discussion" <postgis-users@postgis.refractions.net><br>Date: Monday, January 30, 2012, 3:55 PM<br><br><div class="plainMail">On Sun, Jan 29, 2012 at 7:17 PM, John Morgan <<a ymailto="mailto:jdmorgan@unca.edu" href="/mc/compose?to=jdmorgan@unca.edu">jdmorgan@unca.edu</a>> wrote:<br>>
 Hello,<br>> This may be more of a postgresql question, but it is related to my postgis<br>> setup.  I was hoping that someone might know of an easy way to load a dbf<br>> into postgresql table.  I have used the gdal tool shp2pgsql to load a<br>> shapefile in this way and it worked great.  Is there a similar tool for<br>> loading just a dbf?<br>><br>> Thanks,<br>> Derek<br><br>Derek,<br><br>Use the -n switch with shp2pgsql will do what you want:<br>   shp2pgsql -n<br>Also ogr2ogr will do the trick. ogr2ogr can also handle conversions<br>between numerous other spatial and non-spatial data formats. ODBC is<br>especially handy.<br><br>Rich<br><br>--<br>Richard Greenwood<br><a ymailto="mailto:richard.greenwood@gmail.com" href="/mc/compose?to=richard.greenwood@gmail.com">richard.greenwood@gmail.com</a><br>www.greenwoodmap.com<br>_______________________________________________<br>postgis-users
 mailing list<br><a ymailto="mailto:postgis-users@postgis.refractions.net" href="/mc/compose?to=postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br><a href="http://postgis.refractions.net/mailman/listinfo/postgis-users" target="_blank">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br></div></blockquote></td></tr></table>