RE: [INTERFACES] 7.1 beta 3 Linux ODBC BEGIN Behaviour
От
Hiroshi Inoue
Тема
RE: [INTERFACES] 7.1 beta 3 Linux ODBC BEGIN Behaviour
Дата
Msg-id
EKEJJICOHDIEMGPNIFIJMEPFDIAA.Inoue@tpf.co.jp
Ответ на
RE: 7.1 beta 3 Linux ODBC BEGIN Behaviour (Steve Wranovsky)
Список
Дерево обсуждения
RE: [INTERFACES] 7.1 beta 3 Linux ODBC BEGIN Behaviour Steve Wranovsky <stevew@merge.com>
RE: [INTERFACES] 7.1 beta 3 Linux ODBC BEGIN Behaviour "Hiroshi Inoue" <Inoue@tpf.co.jp>
> -----Original Message----- > From: Steve Wranovsky [mailto:stevew@merge.com] > > I would think you when a standard SELECT is issued, you would not want to > have a BEGIN, however, when a SELECT FOR UPDATE is issued, you may want > to issue the BEGIN in this case. > > Is it easy to discriminate between these types of selects to > decide when to > do the begin? > Unfortunately no(at least for me). The simplest solution is to simply issue BEGIN for all statements in autocommit off mode if transaction isn't in progress. However there are some commands(VACUUM etc) that couldn't be executed inside transaction blocks. Regards, Hiroshi Inoue
В списке pgsql-odbc по дате отправления
От: Steve Wranovsky
Дата: