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

From Rohit Goyal
Subject Re: Fwd: Request for error explaination || Adding a new integer in indextupleData Structure
Date
Msg-id CANqGtSvtpZrZk9-8PC0gXC058XO3RRyM_uxdf6O79D9vZgdkUQ@mail.gmail.com
Whole thread Raw
In response to Re: Fwd: Request for error explaination || Adding a new integer in indextupleData Structure  (Jeff Janes <jeff.janes@gmail.com>)
Responses Re: Fwd: Request for error explaination || Adding a new integer in indextupleData Structure  (Jim Nasby <jim@nasby.net>)
List pgsql-hackers


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

Hi Jeff and Tom, 

Thanks you so much. I was making the mistake you mentioned in the last mail. :)

Regards,
Rohit Goyal


--
Regards,
Rohit Goyal

pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Changeset Extraction v7.3
Next
From: Stephen Frost
Date:
Subject: Re: Suspicion of a compiler bug in clang: using ternary operator in ereport()