pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: msi77 <msi77@yandex.ru>
To: johnf@jfcomputer.com <johnf@jfcomputer.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: strange corruption?
Date: Fri, 28 Dec 2012 07:26:56 +0400
Message-ID: <2670191356665216@web3g.yandex.ru> (raw)
In-Reply-To: <50DC5AD0.3040507@jfcomputer.com>
References: <50DC5AD0.3040507@jfcomputer.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-sql>

Hi,
Maybe you have triggers on the target table.

27.12.2012, 18:28, "John Fabiani" <johnf@jfcomputer.com>:
> Hi,
> I have the following statement in a function.
>
>      UPDATE orderseq
>      SET orderseq_number = (orderseq_number + 1)
>      WHERE (orderseq_name='InvcNumber');
>
> All it does is update a single record by incrementing a value (int).
>
> But it never completes.  This has to be some sort of bug.  Anyone have a
> thought what would cause this to occur.  To my knowledge it was working
> and does work in other databases.
>
> Johnf
>
> --
> Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-sql


-- 
Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-sql



view thread (5+ messages)

Message-ID: <2670191356665216@web3g.yandex.ru>
Permalink:  ../2670191356665216@web3g.yandex.ru/
Also on:    postgresql.org/message-id/2670191356665216@web3g.yandex.ru

 · 

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-sql@postgresql.org
  Cc: msi77@yandex.ru, johnf@jfcomputer.com
  Subject: Re: strange corruption?
  In-Reply-To: <2670191356665216@web3g.yandex.ru>

* 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