On Tue, 24 Aug 2010, Sven Van Caekenberghe wrote:
On 24 Aug 2010, at 11:42, Levente Uzonyi wrote:
These apps use Squeak trunk images (updated regularly, but manually) with Seaside 3.0 (some with Comet), WebClient, SqueakSSL, OSProcess, PostgresV3.
Is PostgresV3 production ready, last time I checked it seemed like it was not ready vs the older PostgresV2. I must have missed its progress (no pun intended).
We're using it in production for a year now (instead of PostgresV2), so it's production ready from our POV. But it's not ready for others, because it's short on documentation (especially user documentation) and it mostly implements stuff we need(ed). That's why there was no announcement about it yet.
Is there some writeup about this package somewhere ?
No, there's none, but in short: The package consists of a 3 "APIs". The lowest level API is the PG3Connection. This works pretty much like PostgresV2, though some method names are different, but if you know how to use PostgresV2, then you will find out in 5 minutes how to use this. A higher level API is the PG3ConnectionPool which implements a simple connection pool. It's fairly easy to use the pool too. In 10 minutes one can set up a pool for a db without docs. The highest level API (in the public repository) is the PG3FunctionClient which allows you to call Postgres functions which return a refcursor. Most of our apps use this API to communicate with the DB. In our private repo we implemented a new high level API, which allows one to edit the Postgres functions in the Browser, fix bugs in the Debugger, version them with Monticello, etc. It also allows one to call "normal" functions which don't return a refcursor. Since the package is getting fat, we are at the point where we have to split it. When we're done with that, we'll push it to the public repo. So feel free to experiment with it and if you need a feature or found a bug, let us know. Levente
Thx,
Sven
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project