cursor and update + view - Mailing list pgsql-sql

From Engard Ferenc
Subject cursor and update + view
Date
Msg-id Pine.LNX.3.96.981123201117.31498B-100000@Pons.sote.hu
Whole thread Raw
Responses Re: [SQL] cursor and update + view
List pgsql-sql
Hi all,

I would like to greet averybody on the list; this is my first mail.

Anyway... I need to use the UPDATE ... WHERE CURRENT OF ... clausule,
but it doesn't work:

oeptest=> update shorttest set b='blahblah' where current of c1;
ERROR:  CURRENT used in non-rule query

What does it mean? IT would be urgent...

My other problem is with the views: it seems not work if there is an
aggregate command in the SELECT. It's only my experience, or others
noticed it also? (The details are on the pgsql-novice (subject: view
and aggregate command problem))

Thanks, and sorry, if the questions were answered an hour ago; I have
subscribed to the list 5 minutes ago... :-)

Circum

 __  @
/  \    _   _                                           Engard Ferenc
l    | ( \ /  | | (\/)                      mailto:s-fery@kkt.sote.hu
\__/ | |   \_ \_/ I  I                    http://pons.sote.hu/~s-fery



pgsql-sql by date:

Previous
From: Herouth Maoz
Date:
Subject: Re: [SQL] optimizing 2-table join w/millions of rows
Next
From: Engard Ferenc
Date:
Subject: select in update