From: Michael Fuhr <mike@fuhr.org>
To: Vasilis Ventirozos <vendi@cosmoline.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: thats funny :)
Date: Mon, 9 May 2005 06:42:29 -0600
Message-ID: <20050509124229.GA42559@winnie.fuhr.org> (raw)
In-Reply-To: <427F4446.8030808@cosmoline.com>
References: <427F4446.8030808@cosmoline.com>
[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/
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: mike@fuhr.org, vendi@cosmoline.com
Subject: Re: thats funny :)
In-Reply-To: <20050509124229.GA42559@winnie.fuhr.org>
References: <427F4446.8030808@cosmoline.com> <20050509124229.GA42559@winnie.fuhr.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox