Re: order by in cursor declaration does not allow update - Mailing list pgsql-hackers

From Tom Lane
Subject Re: order by in cursor declaration does not allow update
Date
Msg-id 15083.1193322101@sss.pgh.pa.us
Whole thread Raw
In response to order by in cursor declaration does not allow update  ("Dharmendra Goyal" <dharmendra.goyal@gmail.com>)
List pgsql-hackers
"Dharmendra Goyal" <dharmendra.goyal@gmail.com> writes:
> If a cursor is declared using "Order by" then it gives following error
> during updation of the cursor:
> ERROR:  cursor "c" is not a simply updatable scan of table "test"

This is not a bug.  (See also quote from SQL92 in the other thread.)
        regards, tom lane


pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: text search parser, "uri"
Next
From: Tom Lane
Date:
Subject: Re: postgres under linux can't start because of postmaster.pid