> very cool.
> does this work on any version of postgresql?

I 've checked it with PostgreSQL 7.4, if you find any problems with
another
version, please inform me and I 'll gladly fix it :)

-g.