Hey All,
The third in my series of articles on PL/pgSQL has been published on
the O'Reilly Network. It builds on the previous two to show how to
use PostgreSQL batch update and insert syntax to have a constant
number of calls to the database no matter how many rows you're
associating in a many-to-many relationship. Check it out:
http://www.oreillynet.com/pub/a/databases/2006/09/07/plpgsql-batch-
updates.html
Enjoy.
David