Re: rules

Поиск
Список
Период
Сортировка
От Jan Norman Pedersen
Тема Re: rules
Дата
Msg-id 40dbd135$0$223$edfadb0f@dread11.news.tele.dk
обсуждение исходный текст
Ответ на rules  ("Jie Liang" <jie@stbernard.com>)
Список pgsql-sql
Anslag

"Stephan Szabo" <sszabo@megazone.bigpanda.com> wrote in message
news:20040519104830.J85664@megazone.bigpanda.com...
> On Wed, 19 May 2004, Jie Liang wrote:
>
> > According to the document of rule:
> >
> > CREATE RULE rulename AS ON delete TO mytablename DO
> > (
> > delete from aaa where id=OLD.id;
> > Delete from bbb where id=OLD.id;
> > Delete from ccc where id=OLD.id
> > );
> >
> >
> > Should work, but it doesn't, what wrong with it?
>
> What is it doing and what version is this on?
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 8: explain analyze is your friend
>




В списке pgsql-sql по дате отправления:

Предыдущее
От: Rod Taylor
Дата:
Сообщение: Re: Queries across multiple database
Следующее
От: Kenneth Gonsalves
Дата:
Сообщение: Re: finding if a foreign key is in use