RE: cant delete row

From: "Tamsin" <tg_mail(at)bryncadfan(dot)co(dot)uk>
To: "Postgres General" <pgsql-general(at)postgresql(dot)org>
Subject: RE: cant delete row
Date: 2001-04-05 16:32:54
Message-ID: NEBBKHBOBMJCHDMGKCNJGECBCMAA.tg_mail@bryncadfan.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

doh! now i feel _really_ stupid!
of course, I managed to forget all about the rule i made which inserts into
another table when a row is deleted. altered that table & recreated the
rule, and all is fine.
thanks tom!
tamsin

> -----Original Message-----
> From: pgsql-general-owner(at)postgresql(dot)org
> [mailto:pgsql-general-owner(at)postgresql(dot)org]On Behalf Of Tom Lane
> Sent: 05 April 2001 15:33
> To: Tamsin
> Cc: Postgres General
> Subject: Re: [GENERAL] cant delete row
>
>
> "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?
>
> regards, tom lane
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Shaw Terwilliger 2001-04-05 18:08:47 Database Name Case Sensitivity
Previous Message The Hermit Hacker 2001-04-05 16:29:13 Re: Where do I get the v7.1 beta?