Hi again...<br><br>I'm triing to connect to a remote postgres db without success...<br><br>I've use several framework<br><br>***Jim-PostgresSql ***<br><br>| client |<br>&nbsp;&nbsp;&nbsp; client := PSQLClient new database: 'sup_prev'; user: 'web'.
<br>&nbsp;&nbsp;&nbsp; client establishConnection.<br>client closeConnection.<br><br>wich give an unknown message type $# (&lt;- a square - maybe an encoding problem ?? )&nbsp; aBiteArray(14)<br>in PSQLBackendMessage class&gt;&gt;readFrom: with:
<br>... class := FactoryClassDict at: id ifAbsent: [self error: 'unknown message type ', id printString, ' (', id asInteger printString, ')'<br><br>***After, I've tryed PostgresV2***<br>something like... ( with configuration done on the class side: buildDefaultConnectionArgs )
<br><br>|conn|<br>conn := PGConnection new.<br>conn .<br>conn startup.<br>conn execute: 'select * from experiences'.<br>conn terminate.<br>&nbsp;&nbsp;&nbsp; ^ resultStream contents.<br>I get an error saying connection not valid - isConnected returning false :s
<br>I probably missed something...<br><br>***After I tryied to use ODBC but without success too... :s&nbsp;&nbsp; I don't know the dns for postgres...***<br><br>Can anyone tell me wich tool(package) to use preferably with postgres ? because I'm a bit lost at the moment :). Also, if you see what are the problems in my connections attempts
<br><br>Thanks for all<br><br>Cédrick<br><br><br>