From: Gavin Flower <GavinFlower@archidevsys.co.nz>
To: johnf@jfcomputer.com
Cc: pgsql-sql@postgresql.org <pgsql-sql@postgresql.org>
Subject: Re: strange corruption?
Date: Fri, 28 Dec 2012 05:21:33 +1300
Message-ID: <50DC758D.9010309@archidevsys.co.nz> (raw)
In-Reply-To: <50DC5AD0.3040507@jfcomputer.com>
References: <50DC5AD0.3040507@jfcomputer.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-sql>
On 28/12/12 03:27, John Fabiani wrote:
> 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
>
>
It might help if you give the table definition.
Definitely important: is the exact version of PostgreSQL used, and the
operating system.
Cheers,
Gavin
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: GavinFlower@archidevsys.co.nz, johnf@jfcomputer.com
Subject: Re: strange corruption?
In-Reply-To: <50DC758D.9010309@archidevsys.co.nz>
* 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