Re: INSERT RULE

Поиск
Список
Период
Сортировка
От Pailloncy Jean-Gérard
Тема Re: INSERT RULE
Дата
Msg-id AEF2EF5C-9DB3-11D8-95E2-000A95DE2550@gdr-isis.enst.fr
обсуждение исходный текст
Ответ на INSERT RULE  (Pailloncy Jean-Gérard <pailloncy@gdr-isis.enst.fr>)
Ответы Re: INSERT RULE
Список pgsql-performance
> I try to do:
> CREATE RULE ndicti AS ON INSERT TO ndict
>     DO INSTEAD INSERT INTO 'ndict_' || (NEW.word_id & 255)
>     VALUES( NEW.url_id, NEW.word_id, NEW.intag);
> I got an error on 'ndict_' .
> I did not found the right syntax.
In fact I discover that
SELECT * FROM / INSERT INTO table
doesn't accept function that returns the name of the table as table,
but only function that returns rows....

I'm dead.

Does this feature, is possible or plan ?
Is there a trick to do it ?

Cordialement,
Jean-Gérard Pailloncy


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

Предыдущее
От: "Jie Liang"
Дата:
Сообщение: 7.4.2 out of memory
Следующее
От: "Jie Liang"
Дата:
Сообщение: LIKE and INDEX