<br><br><div class="gmail_quote">2009/7/7 Even Rouault <span dir="ltr"><<a href="mailto:even.rouault@mines-paris.org">even.rouault@mines-paris.org</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div class="h5"><br>
><br>
> I am not aware of having quoted stuff like the value applied to dbname=<br>
> in the past. Why are you doing it? I would suggest printing out<br>
> the return value of CPLGetLastErrorMsg() if the Open fails. Are you<br>
> sure you are registering all the drivers before calling open?<br>
><br>
> Best regards,<br>
</div></div></blockquote><div><br>Hello again, <br>thanks for your answers! I resolved using the CPLGetLastErrorMsg() and found that the parameter "passwd" in the connection string was wrong!! Looking at PQconnectDB() docs, I saw that it should be:"password". <br>
Why "ogr2ogr" works with that string?<br><br>Thank you all,<br>Flavio<br></div></div><br>