Postgres

Ramon Leon ramon.leon at allresnet.com
Wed Mar 28 17:28:54 UTC 2007


> Hello,
>    I need to connect to a Postgres database.  I've installed 
> the PostgresV2, Glorp and Ramon's MagritteGlorp package.
>    First of all, I wanted to test the Postgres package, so I 
> changed the connection arguments in TestPGConnection to the 
> server, userid and password used that I am using, and then 
> executed the most basic
> method: testConnection, which coughed at me: "PGConnection 
> has a defective state machine"
>    Is there any particular thing I should reset or install to 
> get the Postgres package to work?
>    Thanks
> 
> 
>    r.

Go into pg_hba.config and change the authentication method from md5 to
password, restart postgres.  Squeak will connect fine after that.

Ramon Leon
http://onsmalltalk.com   




More information about the Squeak-dev mailing list