From: | "Oliver Elphick" <olly(at)lfix(dot)co(dot)uk> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | "Tamsin" <tg_mail(at)bryncadfan(dot)co(dot)uk>, "Postgres General" <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: cant delete row |
Date: | 2001-04-05 15:53:21 |
Message-ID: | 200104051553.f35FrLa29050@linda.lfix.co.uk |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Tom Lane wrote:
>"Tamsin" <tg_mail(at)bryncadfan(dot)co(dot)uk> writes:
>> test=# delete from order_head where order_head_id = 1581;
>> ERROR: overflow on numeric ABS(value) >= 10^9 for field with precision 8
>> scale 2
>
>This is extremely bizarre. A DELETE does not care what data is in the
>row. Do you perhaps have rules or triggers on this table that you
>haven't told us about?
But surely the WHERE clause on this DELETE will care? I don't know
how the internal details are arranged, but it sounds as though it is
the comparison that is blowing up.
--
Oliver Elphick Oliver(dot)Elphick(at)lfix(dot)co(dot)uk
Isle of Wight http://www.lfix.co.uk/oliver
PGP: 1024R/32B8FAA1: 97 EA 1D 47 72 3F 28 47 6B 7E 39 CC 56 E4 C1 47
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C
========================================
"My dear brothers, take note of this: Everyone should
be quick to listen, slow to speak and slow to become
angry, for man's anger does not bring about the
righteous life that God desires." James 1:19,20
From | Date | Subject | |
---|---|---|---|
Next Message | Keith G. Murphy | 2001-04-05 15:53:51 | Re: Data transfer format between UNIX server and Windows client? |
Previous Message | Peter Eisentraut | 2001-04-05 15:52:46 | Re: Data transfer format between UNIX server and Windows client? |