Why won't this work?:<br>  <br>  ogr2ogr -f KML kmltest.kml "PG:dbname=postg<br>  is username=postgres password=pword" -sql "SELECT * FROM district;"<br>  <br>  ERROR 1: PQconnectdb failed.<br>  invalid connection option "username"<br>  <br>  FAILURE:<br>  Unable to open datasource `PG:dbname=postgis username=postgres password=pword' w<br>  ith the following drivers.<br>  &nbsp; -&gt; ESRI Shapefile<br>  &nbsp; -&gt; MapInfo File<br>  &nbsp; -&gt; UK .NTF<br>  &nbsp; -&gt; SDTS<br>  &nbsp; -&gt; TIGER<br>  &nbsp; -&gt; S57<br>  &nbsp; -&gt; DGN<br>  &nbsp; -&gt; VRT<br>  &nbsp; -&gt; AVCBin<br>  &nbsp; -&gt; REC<br>  &nbsp; -&gt; Memory<br>  &nbsp; -&gt; CSV<br>  &nbsp; -&gt; GML<br>  &nbsp; -&gt; KML<br>  &nbsp; -&gt; Interlis 1<br>  &nbsp; -&gt; Interlis 2<br>  &nbsp; -&gt; SQLite<br>  &nbsp; -&gt; ODBC<br>  &nbsp; -&gt; PGeo<br>  &nbsp; -&gt; OGDI<br>  &nbsp; -&gt; PostgreSQL<br>  &nbsp; -&gt; MySQL<br>  <br> 
 <p>&#32;__________________________________________________<br>Do You Yahoo!?<br>Tired of spam?  Yahoo! Mail has the best spam protection around <br>http://mail.yahoo.com