DBLink cursors - Mailing list pgsql-hackers

From Shridhar Daithankar
Subject DBLink cursors
Date
Msg-id 200304161830.33690.shridhar_daithankar@nospam.persistent.co.in
Whole thread Raw
Responses Re: DBLink cursors  (Joe Conway <mail@joeconway.com>)
List 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 by date:

Previous
From: ow
Date:
Subject: Re: Are we losing momentum?
Next
From: Shridhar Daithankar
Date:
Subject: One more question regarding dblink