Re: Updatable cursors thoughts - Mailing list pgsql-hackers

From Simon Riggs
Subject Re: Updatable cursors thoughts
Date
Msg-id 1181517170.3620.64.camel@silverbirch.site
Whole thread Raw
In response to Updatable cursors thoughts  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Updatable cursors thoughts
List pgsql-hackers
On Sat, 2007-06-09 at 16:25 -0400, Tom Lane wrote:

> What I think we could do instead is not change any existing behavior of
> cursor declarations, but when WHERE CURRENT OF is used, dig through the
> execution node tree of the cursor to find the scan node for the target
> table. 

Sounds good. The cost is paid by the WHERE CURRENT OF query, not as an
overhead on all cursors. Sounds like it will still be very fast too.

Presumably still disallowing the WITH HOLD case.

--  Simon Riggs              EnterpriseDB   http://www.enterprisedb.com




pgsql-hackers by date:

Previous
From: "Simon Riggs"
Date:
Subject: Re: little PITR annoyance
Next
From: Stephen Frost
Date:
Subject: Re: Truncate Permission