Re: Fwd: Request for error explaination || Adding a new integer in indextupleData Structure - Mailing list pgsql-hackers

From Jeff Janes
Subject Re: Fwd: Request for error explaination || Adding a new integer in indextupleData Structure
Date
Msg-id CAMkU=1wPDEn5kcMCFMt=2ZqPLiupge-+rL1fAKu+MW=3hn2m7w@mail.gmail.com
Whole thread Raw
In response to Re: Fwd: Request for error explaination || Adding a new integer in indextupleData Structure  (Rohit Goyal <rhtgyl.87@gmail.com>)
Responses Re: Fwd: Request for error explaination || Adding a new integer in indextupleData Structure  (Rohit Goyal <rhtgyl.87@gmail.com>)
List pgsql-hackers
On Tue, Jan 28, 2014 at 10:57 AM, Rohit Goyal <rhtgyl.87@gmail.com> wrote:

Hello,

I started all the process again and configured my eclipse with raw postgresql code. First change i made in the code is

I added int i; in indextupleData structure in itup.h.

You should show us *exactly* where you added it.  (Doing so is what "diff" was developed for, so please use that or a similar tool.)
 

I got the same error message. Please help me to understand and solve the issue. I want to add an integer in index tuple for btree.

The data from IndexTupleData is written to disk, and then read back in again.  Did you initdb a new database cluster after you made your change?  If you did the initdb with the original code, and then tried to point your new code at the old disk files, that is very unlikely to work, as format is now different.

Cheers,

Jeff

pgsql-hackers by date:

Previous
From: Noah Misch
Date:
Subject: Re: UNION ALL on partitioned tables won't use indices.
Next
From: Greg Stark
Date:
Subject: Re: proposal: hide application_name from other users