DBLink cursors

From: Shridhar Daithankar <shridhar_daithankar(at)persistent(dot)co(dot)in>
To: pgsql-hackers(at)postgresql(dot)org
Subject: DBLink cursors
Date: 2003-04-16 13:00:33
Message-ID: 200304161830.33690.shridhar_daithankar@nospam.persistent.co.in
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jason M. Felice 2003-04-16 13:12:50 Re: [INTERFACES] First draft of new FE/BE protocol spec posted for comments
Previous Message ow 2003-04-16 12:20:17 Re: Are we losing momentum?