Re: returning results from an update for joining other tables - Mailing list pgsql-sql

From Patrick Scharrenberg
Subject Re: returning results from an update for joining other tables
Date
Msg-id 484E6905.6060008@web.de
Whole thread Raw
In response to Re: returning results from an update for joining other tables  ("A. Kretschmer" <andreas.kretschmer@schollglas.com>)
List 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.9030108@enterprisedb.com>

Oh, I see.

Are there ways to work around this limitation?

Patrick



pgsql-sql by date:

Previous
From: "Shavonne Marietta Wijesinghe"
Date:
Subject: Re: Nextval & Currval
Next
From: Bryan Emrys
Date:
Subject: Conceptual Design Question