Re: Add a filed to PageHeaderData

From: Soroosh Sardari <soroosh(dot)sardari(at)gmail(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Add a filed to PageHeaderData
Date: 2014-06-24 07:02:01
Message-ID: CAFUsPDYAPh2XAVyGAb8+0DAUkx9btzuV8JxtM-_VdaACdiWaCg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Jun 23, 2014 at 10:23 AM, Soroosh Sardari <soroosh(dot)sardari(at)gmail(dot)com
> wrote:

> Dear Hackers
>
> I wanted to add a char array with length of 20 to PageHeaderData in
> include/storage/bufpage.h.
> Surprisingly regression test failed on rangetypes test!
>
> The diff of resulted and expected file is :
>
> *** 968,974 ****
> select count(*) from test_range_spgist where ir -|- int4range(100,500);
> count
> -------
> ! 5
> (1 row)
>
> -- now check same queries using a bulk-loaded index
> --- 968,974 ----
> select count(*) from test_range_spgist where ir -|- int4range(100,500);
> count
> -------
> ! 2
> (1 row)
>
> -- now check same queries using a bulk-loaded index
>
> ======================================================================
>
> Any help appreciated.
>
>
> Soroosh Sardari
>

Is there any rule for adding a field to PageHeaderData?

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Rémi Cura 2014-06-24 07:22:48 python modul pre-import to avoid importing each time
Previous Message furuyao 2014-06-24 06:18:10 Re: pg_receivexlog add synchronous mode