RE: [GENERAL] Newbie Questions, PostgreSQL

Поиск
Список
Период
Сортировка
От Taral
Тема RE: [GENERAL] Newbie Questions, PostgreSQL
Дата
Msg-id 000701bdf869$e5c6afa0$3b291f0a@taral
обсуждение исходный текст
Ответ на Newbie Questions, PostgreSQL  (Sze Yuen Wong <swong_@yahoo.com>)
Ответы RE: [GENERAL] Newbie Questions, PostgreSQL  ("Marc G. Fournier" <scrappy@hub.org>)
Список pgsql-general
>  1.What is wrong with the following PostgreSQL statement?
>
>  CREATE RULE r1 AS ON INSERT TO TBL1 DO [INSERT INTO TBL2 values
> (new.i);
> NOTIFY TBL2];
>
>         I got the following error messages following its execution:
>
>         ERROR: parser: parse error at pr near ""
>         ERROR: parser: parse error at pr near "]"

You want " and ", not [ and ]. And you will need to specify LANGUAGE "SQL"
as well, I think.

Taral


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

Предыдущее
От: Sze Yuen Wong
Дата:
Сообщение: Newbie Questions, PostgreSQL
Следующее
От: Andy Lewis
Дата:
Сообщение: Easiest and shortest way?