Updating from a column

Поиск
Список
Период
Сортировка
От Bob Pawley
Тема Updating from a column
Дата
Msg-id BC92B1E0A0B54AA19141934F8CAC0EAC@desktop
обсуждение исходный текст
Ответы Re: Updating from a column  (Adrian Klaver <adrian.klaver@gmail.com>)
Список pgsql-general
Hi
 
I have a table that has one column (pump1) controlled by a dbcheckbox. The values can be True, False or null.
 
I want to insert a row of values into second table when column pump1 value is 'True'. I don't want the trigger to insert a row when other columns of the first table are updated or when the pump1 column value becomes 'False'.
 
I would appreciate any suggestions as to how to accomplish this.
 
Thanks in advance.
 
Bob
 
 

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

Предыдущее
От: Rodrigo Valdenegro
Дата:
Сообщение: PostreSQL PostgreSQL 8.1.18 and Tsearch2 context error
Следующее
От: Vick Khera
Дата:
Сообщение: Re: number of page slots needed (1576544) exceeds max_fsm_pages (204800)]