Re: Oracle vs PostgreSQL in real life
От
Zeugswetter Andreas SB SD
Тема
Re: Oracle vs PostgreSQL in real life
Дата
Msg-id
46C15C39FEB2C44BA555E356FBCD6FA41EB52F@m0114.s-mxs.net
Список
Дерево обсуждения
Re: Oracle vs PostgreSQL in real life "Dann Corbit" <DCorbit@connx.com>
> > As I wrote it before there, it is an ECPG script that runs with bad perfs. > > ... > > it seems that on every commit, the cursor is closed > > Cursors shouldn't be closed, but prepared statements are deallocated on each > commit. AFAIK this is what the standard says. Wow, this sure sounds completely bogus to me. Imho CURSORS opened inside a transanction (after BEGIN WORK) are supposed to be closed (at least with autocommit=yes). I do not think COMMIT is supposed to do anything with a prepared statement. That is what EXEC SQL FREE :statementid is for. That would then match e.g. Informix esql/c. Andreas
В списке pgsql-hackers по дате отправления
От: Andrew McMillan
Дата: