returning on inserts - Mailing list pgsql-sql

From chester c young
Subject returning on inserts
Date
Msg-id 13907.84888.qm@web54307.mail.re2.yahoo.com
Whole thread Raw
List pgsql-sql
insert into t1( c1 )
select c1 from t2
returning t1.c1, t2.c2;

ERROR: missing FROM-clause entry for table "t2"

is there any way to make this work?

     ____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs


pgsql-sql by date:

Previous
From: Craig Ringer
Date:
Subject: Re: link to Jsp
Next
From: Allan Kamau
Date:
Subject: Removing redundant itemsets