Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 May 2002 14:34:23 -0600
From:      Tillman Hodgson <tillman@hodgsonhouse.com>
To:        freebsd-questions@FreeBSD.ORG
Subject:   DBD-Pg Port & autocommit on FreeBSD
Message-ID:  <20020507143423.A20537@hodgsonhouse.com>

next in thread | raw e-mail | index | archive | help
Howdy,

It looks like I'm having trouble with INSERTs being automatically rolled
back (I determined that by packet sniffing the database connection and
seeing a "ROLLBACK" after each "INSERT"). The DBD::Pg documentation at
http://www.perl.com/CPAN/modules/by-module/DBD/DBD-Pg-1.12.readme seems
to imply that this is an issue with autocommit not working:

"FreeBSD users: if you get during make test the error message:
    'DBD driver has not implemented the AutoCommit attribute'
    recompile the DBI module and the DBD-Pg module and disable
    optimization. This error message is due to the broken
    optimization in gcc-2.7.2.1."

I'm using port version 1.12.

I don't need transaction support -- is there a way to confirm that the
note in the DBD::Pg README file is relevent to the port or not, and if
it is, is there a way to re-enable autocommit?

- Tillman

-- 
As long as your email program is sending mine ASCII text through an SMTP
server [..] we're pretty much covered. (Some people believe in throwing
in HTML support, which is a bit like using colored paper and glitter ink
to improve your resume, but it takes all kinds.)
	- Rob Landley, linuxandmain.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020507143423.A20537>