Content repository performance upgrade (PG)

Please review this post if you're using the CR heavily under postgres.

http://openacs.org/forums/message-view?message_id=335611

Contributed by Jeff Davis