Re: Partitionning + Trigger and Execute not working as expected

Поиск
Список
Период
Сортировка
От Josh Kupershmidt
Тема Re: Partitionning + Trigger and Execute not working as expected
Дата
Msg-id CAK3UJRErzuGFQQOx0FzZV72dDdLBfd1P4baOD-Jmb2PF7AsCFQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Partitionning + Trigger and Execute not working as expected  (Sylvain Mougenot <smougenot@sqli.com>)
Ответы Re: Partitionning + Trigger and Execute not working as expected  (Sylvain Mougenot <smougenot@sqli.com>)
Список pgsql-sql
On Tue, Nov 8, 2011 at 11:04 AM, Sylvain Mougenot <smougenot@sqli.com> wrote:
> EXECUTE 'INSERT INTO '|| currentTableName || ' values (NEW.*)';

The quotes in the above line are wrong; you want it like:

EXECUTE 'INSERT INTO '|| currentTableName || ' values ' || (NEW.*);

Josh


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

Предыдущее
От: Ross Reedstrom
Дата:
Сообщение: Re: help with xpath namespace
Следующее
От: tlund79
Дата:
Сообщение: Re: Issue with a variable in a function