Search Postgresql Archives

Re: missing FROM-clause entry

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



m == me@xxxxxxxxxxxxx writes:

 m> you didn't reference the table "replica"... this should work:
 m> UPDATE model_timemap
 m> SET map = updatemap( CASE WHEN replica = 32188 THEN 328787 WHEN replica =
 m> 32191 THEN 5739 ELSE -1 END, 1161642129, map)

 m> FROM replica

 m>  WHERE replica.replica_id = model_timemap.replica AND replica.proxy = 32189


Ah.  Thanks.

-- 
Brandon


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux