Re: WIP: updatable cursors in plpgsql

From: "Pavel Stehule" <pavel(dot)stehule(at)gmail(dot)com>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: WIP: updatable cursors in plpgsql
Date: 2007-06-12 06:36:33
Message-ID: 162867790706112336n2db03bb2jfd93c6fc25a99743@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

>
> As the code stands plpgsql will try to issue something like
>
> UPDATE/DELETE ... WHERE CURRENT OF $1
>
> Since we don't try to do anything with the cursor name until runtime,
> it seems that this would work if we allowed a parameter symbol there.
> Offhand that doesn't look hard.
>

I tested it. It's great. Thank You
Pavel Stehule

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message ITAGAKI Takahiro 2007-06-12 08:35:55 Re: Autovacuum launcher doesn't notice death of postmaster immediately
Previous Message FAST PostgreSQL 2007-06-12 03:10:23 Re: COPYable logs status