From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Andrew Dunstan <andrew(at)dunslane(dot)net> |
Cc: | Andres Freund <andres(at)2ndquadrant(dot)com>, pgsql-hackers(at)postgresql(dot)org, Abhijit Menon-Sen <ams(at)2ndquadrant(dot)com>, Christopher Browne <cbbrowne(at)gmail(dot)com> |
Subject: | Re: Re: [PATCH] Enforce that INSERT...RETURNING preserves the order of multi rows |
Date: | 2012-10-21 19:08:05 |
Message-ID: | 25044.1350846485@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Andrew Dunstan <andrew(at)dunslane(dot)net> writes:
> Sufficient unto the day is the evil thereof. It seems premature to worry
> about it now.
Um, well, this whole thread is about how many potential optimizations
we're willing to toss aside to guarantee a particular behavior that the
current implementation has. So I think it's all about worrying about
the future.
One issue that just came to mind is what effect such a promise would
have on attempts to multi-thread the backend. I'm on record as being
dubious about the pain-to-reward ratio of any such attempt. But if
we ever do try it, the more constraints we've put on the order of row
processing, the less potential benefit there will be.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Vik Reykja | 2012-10-21 20:29:39 | Re: Re: [PATCH] Enforce that INSERT...RETURNING preserves the order of multi rows |
Previous Message | Andrew Dunstan | 2012-10-21 18:54:10 | Re: [PATCH] Enforce that INSERT...RETURNING preserves the order of multi rows |