O'ReillyNet looks at the PL/pgSQL language for PostgreSQL. "PL/pgSQL is a procedural language similar to Oracle's PL/SQL. It's much more powerful than pure SQL in that it supports variables, ...