DBLink cursors

Поиск
Список
Период
Сортировка
От Shridhar Daithankar
Тема DBLink cursors
Дата
Msg-id 200304161830.33690.shridhar_daithankar@nospam.persistent.co.in
обсуждение исходный текст
Ответы Re: DBLink cursors
Список pgsql-hackers
Hi,

I was just going thr. dblink code and noticed that dblink cursors are wrapped 
in their own transaction.

If an application instantiates a transaction to  do 10 things, one of which is 
to fetch a cursor over dblink, how will it work?

IMO the instantiation of transaction block should be left calling application, 
as done with normal cursors. DBLink would have to detect whether or not they 
are in a transaction block and abort accordingly.

Or I misunderstood something?
Shridhar



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

Предыдущее
От: ow
Дата:
Сообщение: Re: Are we losing momentum?
Следующее
От: Shridhar Daithankar
Дата:
Сообщение: One more question regarding dblink