Re: returning results from an update for joining other tables

From: Patrick Scharrenberg <pittipatti(at)web(dot)de>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: returning results from an update for joining other tables
Date: 2008-06-10 11:44:05
Message-ID: 484E6905.6060008@web.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Hi!
>> >> What I tried was something like this, which gave me a syntax error:
>> >>
>> >> SELECT * FROM
>> >> ( UPDATE ta
>> >> SET process_node='nodename'
>> >> WHERE a>10 AND process_node is null
>> >> RETURNING *
>> >> ) AS ta
>> >> JOIN someothertable ON ...
> >
> > It's a know limitation, see <48468922(dot)9030108(at)enterprisedb(dot)com>

Oh, I see.

Are there ways to work around this limitation?

Patrick

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Bryan Emrys 2008-06-10 12:05:24 Conceptual Design Question
Previous Message Shavonne Marietta Wijesinghe 2008-06-10 10:35:20 Re: Nextval & Currval