Always get TranBlock notice using 'c' - Mailing list pgsql-interfaces

From Robert Rothe
Subject Always get TranBlock notice using 'c'
Date
Msg-id 38628B50.FF9F52B7@mindspring.com
Whole thread Raw
Responses Re: [INTERFACES] Always get TranBlock notice using 'c'  (Michael Meskes <meskes@postgresql.org>)
List pgsql-interfaces
All,

When writing apps using 'c' and the preprocessor, I always get a
"NOTICE: BeginTransactionBlock not in default state" with my first BEGIN
statement.  I've tried placing a COMMIT and END at the beginning of the
app, but then I just get a NOTICE on the commit and another one on the
BEGIN.

This does not happen when using interactive pgsql.

Is this addressed in an FAQ or can someone point me to the right place? 
Seems the app does not start in the default state.

Thanks in advance,
Rob


pgsql-interfaces by date:

Previous
From: Enrique Rodriguez Lazaro
Date:
Subject: Re: [ADMIN] Re: [INTERFACES] Ghost insert
Next
From: Thomas Lockhart
Date:
Subject: Re: [INTERFACES] RE: ODBC and RDO