Trevor,
> I am running Postgresql-7.2 with PHP 4.1.1 and I am beginning to use
> transactions inside of a php script:
This issue has been raised and resolved on the pgsql-php list. Browse
the archives of that list, and if you can't find it, post your
question to pgsql-php.
FWIW, transactions within postgres must happen in a single connection.
-Josh Berkus