Postgres

Sebastian Sastre ssastre at seaswork.com
Wed Mar 28 18:26:45 UTC 2007


> -----Mensaje original-----
> De: squeak-dev-bounces at lists.squeakfoundation.org 
> [mailto:squeak-dev-bounces at lists.squeakfoundation.org] En 
> nombre de Ramon Leon
> Enviado el: Miércoles, 28 de Marzo de 2007 14:29
> Para: 'The general-purpose Squeak developers list'
> Asunto: RE: Postgres
> 
> > 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.

The 'trust' option also work at a less(?) secure level. It's a pity we don’t
have md5 for postgres yet because is the preferred/recommended method for DB
conections.

Cheers,

Sebastian Sastre


> 
> Ramon Leon
> http://onsmalltalk.com   
> 
> 




More information about the Squeak-dev mailing list