Re: record new is unassigned yet

From: Jan Wieck <JanWieck(at)Yahoo(dot)com>
To: Cristian Custodio <crstian(at)terra(dot)com(dot)br>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: record new is unassigned yet
Date: 2003-05-08 14:40:45
Message-ID: 3EBA6C6D.CCFC0795@Yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Cristian Custodio wrote:
>
> Dennis,
>
> I found the problem.
>
> There were a constraint delete cascade.

That cannot be the direct cause for that error message. There must be a
custom trigger defined on one of the tables where you (or a constraint
or some other custom trigger) delete from and that ON DELETE trigger
tries to access NEW.

Jan

>
> Thanks,
>
> Cristian
>
> >quote your commands
>
> >quote the errors.
>
> >We'll try to help.
>
> Cristian Custodio wrote:
> >> Peple,
> >> This error is happening when I try delete
> >> some registers of one specific table:
> >>
> >> record new is unassigned yet.
> >>
> >> I already erase the triggers of this table and
> >> I already desabled the constraints,
> >> but the error is happing yet.
> >>
> >> What I could do?
> >>
> >> Cristian Luciano Custodio
>
> Esta mensagem foi verificada pelo E-mail Protegido Terra.
> Scan engine: VirusScan / Atualizado em 02/05/2003 / Versão: 1.3.13
> Proteja o seu e-mail Terra: http://www.emailprotegido.terra.com.br/
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to majordomo(at)postgresql(dot)org)

--
#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me. #
#================================================== JanWieck(at)Yahoo(dot)com #

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2003-05-08 14:45:08 Re: Problems upgrading from 7.2.1 to 7.2.4
Previous Message Tom Lane 2003-05-08 14:39:48 Re: Disk usage