Re: Add a filed to PageHeaderData - Mailing list pgsql-hackers

From Soroosh Sardari
Subject Re: Add a filed to PageHeaderData
Date
Msg-id CAFUsPDYAPh2XAVyGAb8+0DAUkx9btzuV8JxtM-_VdaACdiWaCg@mail.gmail.com
Whole thread Raw
In response to Add a filed to PageHeaderData  (Soroosh Sardari <soroosh.sardari@gmail.com>)
Responses Re: Add a filed to PageHeaderData
List pgsql-hackers


On Mon, Jun 23, 2014 at 10:23 AM, Soroosh Sardari <soroosh.sardari@gmail.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?
 

pgsql-hackers by date:

Previous
From:
Date:
Subject: Re: pg_receivexlog add synchronous mode
Next
From: Rémi Cura
Date:
Subject: python modul pre-import to avoid importing each time