how to update a view from a table - Mailing list pgsql-general

From Vijay Sharma
Subject how to update a view from a table
Date
Msg-id 1400bc821001281508v5b2e460dm7f259095f4c43b2c@mail.gmail.com
Whole thread Raw
Responses Re: how to update a view from a table  (Craig Ringer <craig@postnewspapers.com.au>)
List pgsql-general
How can i update all the fields of a view from a table(this is table different from the table which has created the view)?
I don't want to specify the name of the columns in the commands
e.g i want to do something like this

UPDATE any_view SET (SELECT * FROM any_view) = (SELECT  *  FROM another_table);

but this query doesn't work.

Whats the way around without specifying the colum name in the SET. In that sense i want to make this query a general query which can update any view from any other table.

pgsql-general by date:

Previous
From: Jeff Davis
Date:
Subject: Re: Amazon EC2 CPU Utilization
Next
From: Yan Cheng Cheok
Date:
Subject: Re: Primary Key Increment Doesn't Seem Correct Under Table Partition