Re: thats funny :)

From: Michael Fuhr <mike(at)fuhr(dot)org>
To: Vasilis Ventirozos <vendi(at)cosmoline(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: thats funny :)
Date: 2005-05-09 12:42:29
Message-ID: 20050509124229.GA42559@winnie.fuhr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

[Please use a descriptive subject -- "thats funny :)" conveys no
information about the problem, and it resembles subjects seen on
some viruses.]

On Mon, May 09, 2005 at 02:06:46PM +0300, Vasilis Ventirozos wrote:
>
> hi all i created a function that restarts the server, i will show you
> what i am doing

The trigger function you posted is called whenever you insert a
record into the favorites table, then the function inserts a record
into favorites, which calls the trigger, which inserts a record,
which calls the trigger, etc. Infinite recursion.

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Vasilis Ventirozos 2005-05-09 12:51:01 Re: thats funny :)
Previous Message Ian FREISLICH 2005-05-09 12:22:12 Re: REMOVE