Updateable cursors patch - Mailing list pgsql-patches

From FAST PostgreSQL
Subject Updateable cursors patch
Date
Msg-id 21558.10861175333802.fast.fujitsu.com.au@MHS
Whole thread Raw
Responses Re: Updateable cursors patch
Re: Updateable cursors patch
Re: Updateable cursors patch
List pgsql-patches
Attached is a working updateable cursors patch. The core functionality has
been implemented and the patch also contains the regression tests and
documentation.

However there are still a couple of TODOs that needs to be done. The planner
has to be taught to treat a DELETE/UPDATE WHERE CURRENT OF as a TidScan.
Currently it follows the sequential scan route and extracts the current tuple
based on the cursor position from the portal.  Also, an issue that needs to
be looked at is how to treat joins with an updateable cursor. Currently it is
allowed and when it comes to delete or update, an error message is thrown
from the executor.

Rgds,
Arul Shaji



Attachment

pgsql-patches by date:

Previous
From: "FAST PostgreSQL"
Date:
Subject: Re: COPY-able sql log outputs
Next
From: Magnus Hagander
Date:
Subject: Re: COPY-able sql log outputs