commit in plpgsql function?

Поиск
Список
Период
Сортировка
От Dennis Sacks
Тема commit in plpgsql function?
Дата
Msg-id 41C85E8A.20906@illusions.com
обсуждение исходный текст
Список pgsql-sql
Hi,

I am converting oracle stored procedures to plpgsql. There are several 
of the oracle procedures where a parameter vCommit is passed into the 
procedure and:

if vCommit = 1  then      commit;      do_something_commit(vdate);  else      do_something(vdate);  end if;

does this make sense in plpgsql? Does it make sense to do a commit in 
plpgsql?

Thanks,

Dennis


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