[SqueakDBX] Character encoding and pooling in SqueakDBX and Glorp
Yanni Chiu
yanni at rogers.com
Fri Aug 27 19:13:31 UTC 2010
Panu Suominen wrote:
> 2010/8/27 Mariano Martinez Peck <marianopeck at gmail.com>:
>> Anyway, if you want to load GLorp + native postgresv2 driver evaluate:
>>
>> (ConfigurationOfGlorpDBX project version: '1.2') load: 'All with PostgreSQL
>> native'
>
> Thanx for the tip. I am not sure if v2 works for postgresql 8.x.
I use V2 with postgres 8.X, and it works for me. During the connection
setup, the postgres server can determine what protocol version should be
used (V2 or V3). Unless the postgres developers decide that the V2
protocol should not be supported anymore (e.g. to trim the code base),
there is no technical reason (IMHO) why the V2 protocol needs to be
deprecated. And looking at the documentation for postgres 9.X beta, they
make no mention of deprecating V2 support.
There is now native V3 support available, but I have not tried it yet.
Just a few days ago, it was mentioned that it is in production use by
its developers. Also mentioned was that the API (i.e. PG3Connection) is
very similar to PGConnection, so making it work with GLORP should not be
difficult. I hope to try at some point in the near future.
Of greater concern to me is the disconnect of Squeak/Pharo from the main
line development of GLORP in VW Smalltalk. But that's a whole other
discussion.
More information about the SqueakDBX
mailing list