| From: | Manfred Koizar <mkoi-pg(at)aon(dot)at> |
|---|---|
| To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-patches(at)postgresql(dot)org |
| Cc: | pgsql-hackers(at)postgresql(dot)org |
| Subject: | Re: [HACKERS] MARKED_FOR_UPDATE && XMAX_COMMITTED == XMAX_INVALID ? |
| Date: | 2003-06-12 13:59:27 |
| Message-ID: | kl0hevs8mjt2mv12t45safbteqapuval1o@4ax.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers pgsql-patches |
On Wed, 11 Jun 2003 09:05:33 -0400, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
wrote:
>> If a transaction marks a tuple for update and later commits without
>> actually having updated the tuple, [...] can we simply
>> set the HEAP_XMAX_INVALID hint bit of the tuple?
>
>AFAICS this is a reasonable thing to do.
Thanks for the confirmation. Here's a patch which also contains some
more noncritical changes to tqual.c:
. make code more readable by introducing local variables for xvac
. no longer two separate branches for aborted and crashed.
The actions were the same in all cases.
Servus
Manfred
| Attachment | Content-Type | Size |
|---|---|---|
| unknown_filename | text/plain | 15.6 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2003-06-12 14:08:39 | Re: CVS -Tip compile issue -- FreeBSD 4.8 |
| Previous Message | Rod Taylor | 2003-06-12 13:51:35 | Re: CVS -Tip compile issue -- FreeBSD 4.8 |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2003-06-12 14:08:39 | Re: CVS -Tip compile issue -- FreeBSD 4.8 |
| Previous Message | Rod Taylor | 2003-06-12 13:51:35 | Re: CVS -Tip compile issue -- FreeBSD 4.8 |