Re: ECPG bug in --help - Mailing list pgsql-bugs

From Michael Meskes
Subject Re: ECPG bug in --help
Date
Msg-id 20020106163646.GC1357@feivel.fam-meskes.de
Whole thread Raw
In response to ECPG bug in --help  (Lee Kindness <lkindness@csl.co.uk>)
List pgsql-bugs
On Fri, Jan 04, 2002 at 04:02:14PM +0000, Lee Kindness wrote:
> Michael, hope you've had a good Christmas & all the best for the New
> Year...

Sure. Thanks.

> When you run 'ecpg --help' you get the following:
>
>       -t   turn on autocommit of transactions
>
> amongst the other options... Shouldn't this be OFF as per the
> documentation?

No, this is correct. However, there are some problems in the wording.
autocommit means "use the default transactions from PGSQL" while
auto-transaction mode means to "start a new transaction after each commit".
The latter is the way Oracle handles this, you just have to issue commits
but no begin trans. The first of course is the very same as working with
pgsql.

This needs some clearer wording urgently. I haven't checked Bruce changes so
far.

Michael
--
Michael Meskes
Michael@Fam-Meskes.De
Go SF 49ers! Go Rhein Fire!
Use Debian GNU/Linux! Use PostgreSQL!

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: Bug #559: MACADDR type & 00:00:00:00:00:00
Next
From: jason@matchingmoms.com
Date:
Subject: createlang