pg.ddx.io  pgsql-patches@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Pavan Deolasee <pavan.deolasee@gmail.com>
To: Zdenek Kotala <Zdenek.Kotala@sun.com>
Cc: PostgreSQL-patches <pgsql-patches@postgresql.org>
Subject: Re: page macros cleanup
Date: Thu, 3 Jul 2008 17:20:52 +0530
Message-ID: <2e78013d0807030450m4cab60d0jd99d1acce59fae56@mail.gmail.com> (raw)
In-Reply-To: <48529B83.9010907@sun.com>
References: <48529B83.9010907@sun.com>

On Fri, Jun 13, 2008 at 9:38 PM, Zdenek Kotala <Zdenek.Kotala@sun.com> wrote:
> I attached code cleanup which is related to in-place upgrade. I replace
> direct access to PageHeader structure with already existing macros and I
> removed also unnecessary retyping.

A quick review comment:

One thing I noticed is that the modified definition of HashMaxItemSize
now does not account for the size of ItemId which may not be the right
thing. Please recheck that.

Apart from that the patch looks good to me. As you said, we should
probably replace the other direct usage of PageHeader with appropriate
macros.

Thanks,
Pavan


-- 
Pavan Deolasee
EnterpriseDB http://www.enterprisedb.com



view thread (17+ messages)  latest in thread

Message-ID: <2e78013d0807030450m4cab60d0jd99d1acce59fae56@mail.gmail.com>
Permalink:  ../2e78013d0807030450m4cab60d0jd99d1acce59fae56@mail.gmail.com/
Also on:    postgresql.org/message-id/2e78013d0807030450m4cab60d0jd99d1acce59fae56@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-patches@postgresql.org
  Cc: pavan.deolasee@gmail.com, Zdenek.Kotala@sun.com
  Subject: Re: page macros cleanup
  In-Reply-To: <2e78013d0807030450m4cab60d0jd99d1acce59fae56@mail.gmail.com>
  References: <48529B83.9010907@sun.com> <2e78013d0807030450m4cab60d0jd99d1acce59fae56@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox