From: | Robert Haas <robertmhaas(at)gmail(dot)com> |
---|---|
To: | Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | relaxing sync commit if no WAL written (was Re: unlogged tables) |
Date: | 2010-12-17 18:35:51 |
Message-ID: | AANLkTiknAG16dQDoFk+zm7ziwqXPLd=0h6muTKUnGT=T@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Wed, Dec 15, 2010 at 2:20 AM, Heikki Linnakangas
<heikki(dot)linnakangas(at)enterprisedb(dot)com> wrote:
> Looks ok. I'd suggest rewording this comment though:
>
> [ the comment in question ]
>
> It's a bit hard to follow, as it first lists exceptions on when we must
> flush XLOG immediately, and then lists conditions on when we can skip it.
See if the attached looks better to you. I mostly adopted your
proposal, with a bit of additional wordsmithing, and I also added a
parenthetical comment about why we don't skip writing the commit
record altogether in this case, since that's come up twice now.
I've removed the references to unlogged tables for now, as I'm
thinking it makes sense to commit this part first.
--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
Attachment | Content-Type | Size |
---|---|---|
relax-sync-commit-v2.patch | application/octet-stream | 3.1 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2010-12-17 18:38:31 | Re: proposal: FOREACH-IN-ARRAY (probably for 9.2?) |
Previous Message | David E. Wheeler | 2010-12-17 18:20:28 | Re: proposal: FOREACH-IN-ARRAY (probably for 9.2?) |