On Tue, Sep 29, 2009 at 3:56 PM, Andy Colson <andy@xxxxxxxxxxxxxxx> wrote: > Unless I'm mistaken, if AutoCommit is enabled, then each statement will be > commit for you. The commit() and the rollback() are both useless. > To clarify, the DBI driver turns off AutoCommit in postgres when begin_work() is called. It does not however disable its internal AutoCommit flag. The question still stands: if the COMMIT fails, ROLLBACK is not required in Postgres. Is this portable to other databases? -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general