On Thu, Nov 16, 2017 at 12:36 PM, Peter Eisentraut
wrote:
> On 11/16/17 07:04, legrand legrand wrote:
>> We are just opening the "close cursors on/at commit" specification ;o)
>>
>> - MS SQL server: cursor_close_on_commit
>> - Firebird: close_cursors_at_commit
>> - DB2: "with hold" syntax
>> - ..
On 11/16/17 07:04, legrand legrand wrote:
> We are just opening theĀ "close cursors on/at commit" specification ;o)
>
> - MS SQL server: cursor_close_on_commit
> - Firebird: close_cursors_at_commit
> - DB2: "with hold" syntax
> - ...
>
> I think it a plus to supportĀ keeping opened cursors at comm
We are just opening the "close cursors on/at commit" specification ;o)
- MS SQL server: cursor_close_on_commit
- Firebird: close_cursors_at_commit
- DB2: "with hold" syntax
- ...
I think it a plus to support keeping opened cursors at commit time,
but impacts have to be checked in details ...
Or
On 11/14/17 17:40, legrand legrand wrote:
> will that kind of statement (that is permitted with Oracle but gives errors
> ora-1555 snapshot too old) be permitted ?
>
> begin
> for c in (select id from tab where cond='blabla')
> loop
> update tab set x=1 where id=c.id;
> commit;
> end lo
will that kind of statement (that is permitted with Oracle but gives errors
ora-1555 snapshot too old) be permitted ?
begin
for c in (select id from tab where cond='blabla')
loop
update tab set x=1 where id=c.id;
commit;
end loop;
end;
--
Sent from: http://www.postgresql-archive.o