pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Robert Rothe <rrothe@mindspring.com>
To: pgsql-interfaces@postgreSQL.org <pgsql-interfaces@postgreSQL.org>
Subject: Always get TranBlock notice using 'c'
Date: Thu, 23 Dec 1999 15:51:28 -0500
Message-ID: <38628B50.FF9F52B7@mindspring.com> (raw)

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



view thread (2+ messages)  latest in thread

Message-ID: <38628B50.FF9F52B7@mindspring.com>
Permalink:  ../38628B50.FF9F52B7@mindspring.com/
Also on:    postgresql.org/message-id/38628B50.FF9F52B7@mindspring.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: rrothe@mindspring.com
  Subject: Re: Always get TranBlock notice using 'c'
  In-Reply-To: <38628B50.FF9F52B7@mindspring.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox