pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Chris Pesko <cpesko@organic.com>
To: pgsql-admin@postgresql.org
Subject: transactions and cursors......
Date: Wed, 27 Feb 2002 09:30:04 -0800
Message-ID: <4.3.2.7.2.20020227092743.0306bb40@mailhost.organic.com> (raw)

Can I put transactions and cursors into functions?  As soon as I put BEGIN; 
and COMMIT; wrapping an insert statement within a function, I get 
errors.  Do these programs need to reside outside of the database?




view thread (3+ messages)  latest in thread

Message-ID: <4.3.2.7.2.20020227092743.0306bb40@mailhost.organic.com>
Permalink:  ../4.3.2.7.2.20020227092743.0306bb40@mailhost.organic.com/
Also on:    postgresql.org/message-id/4.3.2.7.2.20020227092743.0306bb40@mailhost.organic.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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: cpesko@organic.com
  Subject: Re: transactions and cursors......
  In-Reply-To: <4.3.2.7.2.20020227092743.0306bb40@mailhost.organic.com>
  References: <4.3.2.7.2.20020227092743.0306bb40@mailhost.organic.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