Re: cant delete row - Mailing list pgsql-general

From Oliver Elphick
Subject Re: cant delete row
Date
Msg-id 200104051553.f35FrLa29050@linda.lfix.co.uk
Whole thread Raw
In response to Re: cant delete row  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: cant delete row
List pgsql-general
Tom Lane wrote:
  >"Tamsin" <tg_mail@bryncadfan.co.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.Elphick@lfix.co.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



pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Data transfer format between UNIX server and Windows client?
Next
From: Peter Eisentraut
Date:
Subject: Re: Data transfer format between UNIX server and Windows client?