Re: Old/New

Поиск
Список
Период
Сортировка
От Adrian Klaver
Тема Re: Old/New
Дата
Msg-id 201001221501.34603.adrian.klaver@gmail.com
обсуждение исходный текст
Ответ на Re: Old/New  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
On Friday 22 January 2010 2:05:02 pm Tom Lane wrote:
> "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

In addition to the above, is there more to the trigger function then what you
have shown so far?

--
Adrian Klaver
adrian.klaver@gmail.com

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Old/New
Следующее
От: "Bob Pawley"
Дата:
Сообщение: Re: Old/New