Skip site navigation (1) Skip section navigation (2)

Re: Subtle bug in clog.c

From: Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl>
To: Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Subtle bug in clog.c
Date: 2004-07-02 17:24:00
Message-ID: 20040702172400.GD26372@dcc.uchile.cl (view raw or flat)
Thread:
Lists: pgsql-hackers
On Fri, Jul 02, 2004 at 01:09:56PM -0400, Alvaro Herrera wrote:

Sorry:

> When the status is SUBCOMMITTED, the bytemask will have 11 for those two
                                       ^^^^^^^^ should be bitmask
> bytes; therefore, when OR-ing a 10 or 01 mask (committed or aborted),
  ^^^^^ should be bits
> shouldn't the byte remaing the same as before?  That is, changing from
> SUBCOMMITTED to either COMMIT or ABORT does not actually do anything?

-- 
Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
"La experiencia nos dice que el hombre peló millones de veces las patatas,
pero era forzoso admitir la posibilidad de que en un caso entre millones,
las patatas pelarían al hombre" (Ijon Tichy)


In response to

pgsql-hackers by date

Next:From: Jochem van DietenDate: 2004-07-02 17:50:08
Subject: Re: Adding column comment to information_schema.columns
Previous:From: Alvaro HerreraDate: 2004-07-02 17:22:38
Subject: Re: Nested Transactions, Abort All

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group