Личный кабинет
Укажите e-mail, на который будет выслан код восстановления пароля.
На указанный вами адрес e-mail был выслан код подтверждения аккаунта. Введите полученный код для продолжения:
Введите новый пароль два раза:
The statement is re-executed on commit if it is declared as "cursor with hold" and the cursor is not closed yet.Tested on 11.2 and 9.6.12.1) DDL:create table test(id numeric);create or replace function do_test() returns voidas $$begin raise notice 'test executed!'; insert into test(id) values(1);end;$$ LANGUAGE plpgsql VOLATILE security definerDML statements below are executed with autocommit = off (for example in PgAdmin3)2) DML (cursor is closed after commit):begindeclare exec_cur binary no scroll cursor with hold for select do_test()fetch forward 1 from exec_cur--close exec_curcommitclose exec_curselect count(*) from test---23) DML (cursor is closed before commit):begindeclare exec_cur binary no scroll cursor with hold for select do_test()fetch forward 1 from exec_curclose exec_curcommit--close exec_curselect count(*) from test---1
В списке pgsql-bugs по дате отправления: