[ANN] GLORP version 0.2.34 now available on SqueakMap
Nevin Pratt
nevin at smalltalkpro.com
Tue Aug 5 13:40:43 UTC 2003
Glorp version 0.2.34 is immediately available on SqueakMap (upgraded
from version 0.2.28). The "Release Notes" for this version are
basically identical to the prior "Release Notes", but I've duplicated
them below anyway.
Nevin
********************
Glorp 0.2.34
Release Notes:
This has been ported directly from the Glorp version 0.2.34 in the
Cincom Public Repository.
YOU MUST HAVE ALREADY INSTALLED (FROM SQUEAKMAP) YANNI CHIU'S
POSTGRESQL-CLIENT DRIVER VERSION 0.9, which in turn will require you to
first install Alain Fischer's ANSI compatibility suite (which again you
can get from SqueakMap).
Yanni's PostgreSQL package also includes a number of SUnit unit tests
(SUnit is included in the base Squeak image, and is available for every
Smalltalk dialect). However, to use the SUnit tests for PostgreSQL, you
need to modify the #defaultConnectionArgs instance method of the
PGConnectionArgs class to reflect suitable connection arguments for your
PostgreSQL installation. As it currently exists in the download above,
it expects your PostgreSQL installation to be on your same machine as
your Squeak installation. It also expects to use a 'postgres' account
(with no password) for accessing it, and it will attempt to connect to a
database called 'mydb'. If your actual installation is different from
this, you will need to change the #defaultConnectionArgs.
Installing PostgreSQL on your machine is beyond the scope of these
instructions. But note that if the above SUnit tests don't pass, then
it is likely you don't have PostgreSQL properly installed.
Incidentally, a common problem that I have seen with the PostgreSQL
installation is to start the PostgreSQL postmaster with socket
connections turned off.
After loading Glorp 0.2.34, the following test cases will fail, for the
following reasons:
GlorpDatabaseLoginTest>>testUnsuccessfulLogin
This test is supposed to fail. If it succeeds, there is a problem
GlorpDatabasePlatformTest>>testReadTimestamp
GlorpDatabasePlatformTest>>testReadTimestampNoTZ
GlorpDatabasePlatformTest>>testReadTimestampOverflowDays
Squeak TimeStamp instances don't support milliseconds, and these
three tests test for millisecond values.
GlorpDatabaseTypeDBTest>>testNumeric
GlorpDatabaseTypeDBRoundTripTest>>testNumeric
Tests write a ScaledDecimal, but PostgreSQL treats it like a
double float, which causes the test to fail when the data is read back
in for comparing.
--
Nevin Pratt
Bountiful Baby
http://www.bountifulbaby.com
(801) 992-3137
More information about the Squeak-dev
mailing list
|