Re: Old/New

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Old/New
Дата
Msg-id 21062.1264197902@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Old/New  ("Bob Pawley" <rjpawley@shaw.ca>)
Ответы Re: Old/New  (Adrian Klaver <adrian.klaver@gmail.com>)
Список pgsql-general
"Bob Pawley" <rjpawley@shaw.ca> writes:
> Instead I get two identical rows inserted containing  the fluid_id = '3501'
> and 'Pump #1'.

Seems like the only way that's possible with the INSERT .. VALUES
formulation is if the trigger function gets executed twice.  Maybe you
accidentally created two instances of the trigger?  psql's \d on the
table should list the triggers for you.

            regards, tom lane

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

Предыдущее
От: "Informatica-Cooperativa Cnel. Oviedo"
Дата:
Сообщение: Sugerencia de opcion
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: Old/New