| From: | Marko Tiikkaja <marko(dot)tiikkaja(at)cs(dot)helsinki(dot)fi> |
|---|---|
| To: | Robert Haas <robertmhaas(at)gmail(dot)com> |
| Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL hackers <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: Using results from INSERT ... RETURNING |
| Date: | 2009-10-04 13:33:50 |
| Message-ID: | 4AC8A43E.1040003@cs.helsinki.fi |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Robert Haas wrote:
>> I'm not saying that we don't
>> want to provide the means to do this, but writeable CTEs alone aren't
>> meant to handle this.
>
> Well, I think a patch to implement writeable CTEs is probably going to
> have to handle this case - I don't think we can just ignore rewrite
> rules when processing a CTE. But it does seem to be beyond the scope
> of the current patch.
My use of "this" was a bit ambiguous here; what I meant was that
writeable CTEs are going to work just like a top-level INSERT ..
RETURNING would have, i.e. return only rows inserted to "project".
> I'm going to go ahead and mark this Ready for Committer. Thanks for
> your patience.
Thanks for reviewing!
Regards,
Marko Tiikkaja
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Khee Chin | 2009-10-04 14:10:57 | Re: CREATE LIKE INCLUDING COMMENTS and STORAGES |
| Previous Message | Robert Haas | 2009-10-04 12:15:11 | Re: Using results from INSERT ... RETURNING |