After update complete set

Поиск
Список
Период
Сортировка
От Josué Maldonado
Тема After update complete set
Дата
Msg-id 40A3BCEB.60308@lamundial.hn
обсуждение исходный текст
Ответы Re: After update complete set  (DeJuan Jackson <djackson@speedfc.com>)
Re: After update complete set  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
Hello list,

Is there a way in pg to fire a function when a complete (not row by row)
set is updated/inserted/deleted, for instance.

update order_detail set confirmed='S' where modifieddate=current_date;

Then after all the affected rows are updated, I need some code to
uptaded other tables from the information of the updated rows in the
details table.

Thanks in advance.

--
Sinceramente,
Josué Maldonado.

"Cuando los ricos se hacen la guerra, son los pobres los que mueren."
Jean Paul Sartre. Filósofo y escritor francés.

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

Предыдущее
От: "Sally Sally"
Дата:
Сообщение: DBI remote connection problem
Следующее
От: Anony Mous
Дата:
Сообщение: setting local time without restarting server