From: Michael Schuerig Date: 2002-10-17T16:06:14+09:00 Subject: Re: DBI:Pg 'autocommit' is not a valid option name Jim Weirich wrote: > #!/usr/bin/env ruby > > require 'dbi' > > db = DBI.connect("DBI:Pg:junk", "jim") > > fail "Usage: insert.rb first last" if ARGV.size != 2 > first, last = ARGV > > begin > db['AutoCommit'] = false Here's where it fails with /usr/local/lib/site_ruby/1.6/DBD/Pg/Pg.rb:253:in `exec': ERROR: 'autocommit' is not a valid option name (PGError) No idea what's happening. I'm asking in the PostgreSQL "questions" group. Michael -- Michael Schuerig � � � � � � � � �If at first you don't succeed... mailto:schuerig@acm.org� � � � � �try, try again. http://www.schuerig.de/michael/� �--Jerome Morrow, "Gattaca"