Trigger transactions

Поиск
Список
Период
Сортировка
От Postgres User
Тема Trigger transactions
Дата
Msg-id b88c3460803211842i22a2612vc6aaee313afc935f@mail.gmail.com
обсуждение исходный текст
Ответы Re: Trigger transactions  ("Postgres User" <postgres.developer@gmail.com>)
Список pgsql-general
if a function includes this SQL:

  Update Table1  Set field_1 = 'ab';
  Insert Table2(field_2) VALUES('cd');


and I create an update trigger on Table1:

  Create Trigger Table1_Update AFTER Update
  On Table1 FOR EACH ROW:

  Select * From Table2


will the Select statement in the trigger see the row that I inserted
in the main function?
if not, is there another way to write these statements to that it does?

thanks

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

Предыдущее
От: Erik Jones
Дата:
Сообщение: Re: Postgresql partitioning
Следующее
От: "Postgres User"
Дата:
Сообщение: Re: Trigger transactions