pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: TalGloz <glozmantal@gmail.com>
To: pgsql-general@postgresql.org
Subject: Re: Executing a Function with an INSERT INTO command fails
Date: Wed, 29 Aug 2018 10:24:11 -0700 (MST)
Message-ID: <1535563451072-0.post@n3.nabble.com> (raw)
In-Reply-To: <21059.1535560387@sss.pgh.pa.us>
References: <1535533938898-0.post@n3.nabble.com>
	<019001d43f86$11742960$345c7c20$@swisspug.org>
	<1535541719123-0.post@n3.nabble.com>
	<019e01d43f91$5f3c4460$1db4cd20$@swisspug.org>
	<1535560026747-0.post@n3.nabble.com>
	<21059.1535560387@sss.pgh.pa.us>

Tom Lane-2 wrote
> Maybe you're rolling back the transaction after leaving the function?

Why would it happen and how do I stop it if it is happening. I don't seem to
have anything in the code to cause it....

Regards
Tal



--
Sent from: http://www.postgresql-archive.org/PostgreSQL-general-f1843780.html




view thread (14+ messages)  latest in thread

Message-ID: <1535563451072-0.post@n3.nabble.com>
Permalink:  ../1535563451072-0.post@n3.nabble.com/
Also on:    postgresql.org/message-id/1535563451072-0.post@n3.nabble.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-general@postgresql.org
  Cc: glozmantal@gmail.com
  Subject: Re: Executing a Function with an INSERT INTO command fails
  In-Reply-To: <1535563451072-0.post@n3.nabble.com>
  References: <1535533938898-0.post@n3.nabble.com> <019001d43f86$11742960$345c7c20$@swisspug.org> <1535541719123-0.post@n3.nabble.com> <019e01d43f91$5f3c4460$1db4cd20$@swisspug.org> <1535560026747-0.post@n3.nabble.com> <21059.1535560387@sss.pgh.pa.us> <1535563451072-0.post@n3.nabble.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