Re: Fwd: Request for error explaination || Adding a new integer in indextupleData Structure

From: Rohit Goyal <rhtgyl(dot)87(at)gmail(dot)com>
To: Jeff Janes <jeff(dot)janes(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Fwd: Request for error explaination || Adding a new integer in indextupleData Structure
Date: 2014-01-28 21:59:37
Message-ID: CANqGtSvtpZrZk9-8PC0gXC058XO3RRyM_uxdf6O79D9vZgdkUQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-novice

>
> 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Stephen Frost 2014-01-28 22:00:55 Re: Suspicion of a compiler bug in clang: using ternary operator in ereport()
Previous Message Andres Freund 2014-01-28 21:56:20 Re: Changeset Extraction v7.3

Browse pgsql-novice by date

  From Date Subject
Next Message Kevin Grittner 2014-01-28 22:00:38 Re: Update with last known location?
Previous Message Jeff Janes 2014-01-28 20:03:22 Re: Fwd: Request for error explaination || Adding a new integer in indextupleData Structure