Re: Rule

Поиск
Список
Период
Сортировка
От Stephan Szabo
Тема Re: Rule
Дата
Msg-id 20011126064718.Q10034-100000@megazone23.bigpanda.com
обсуждение исходный текст
Ответ на Rule  (sara_software@hotmail.com (sara_software))
Список pgsql-general
On 25 Nov 2001, sara_software wrote:

> How can a rule call a function?
>
> I have found that I can do this:
>
> CREATE RULE a_rule
> AS ON INSERT TO a_table
> DO INSTEAD  INSERT into other_table(myfunction());
>
> actually I don't have any need for this test scenerio what I want to
> do is say:
>
> DO INSTEAD function();
> where all insert changes and testing will be carried out.
does DO INSTEAD select function();
work?



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

Предыдущее
От: Stephan Szabo
Дата:
Сообщение: Re: How to address field names in a join query
Следующее
От: Martín Marqués
Дата:
Сообщение: Re: Rule