Re: Mass Update - Mailing list pgsql-general

From Iain Adams
Subject Re: Mass Update
Date
Msg-id 1177352561.765370.325200@y5g2000hsa.googlegroups.com
Whole thread Raw
In response to Re: Mass Update  (Niederland <niederland@gmail.com>)
List pgsql-general
Roger,

This statement runs but the table isnt actually updated. Slightly odd.
I ran the subquery, which makes perfect sense and nothing was
returned. If I remove the AND temp.id <> junctions.id part I get loads
of results returned but if I run the update with the the adjusted
subquery I get ERROR:  more than one row returned by a subquery used
as an expression. Dont quite know what is going wrong.

Thanks alot

Iain



pgsql-general by date:

Previous
From: "Joris Dobbelsteen"
Date:
Subject: Re: Audit-trail engine: getting the application's layer user_id
Next
From: judexhuang@gmail.com
Date:
Subject: Re: can't start tsearch2 in 8.2.4