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

From: Jim Nasby <jim(at)nasby(dot)net>
To: Rohit Goyal <rhtgyl(dot)87(at)gmail(dot)com>, 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-30 19:51:57
Message-ID: 52EAAD5D.1090308@nasby.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-novice

On 1/28/14, 3:59 PM, Rohit Goyal wrote:
>
> 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. :)

The real issue here is that you need to bump the catalog version number (sorry, but I don't know where that is in code).
--
Jim C. Nasby, Data Architect jim(at)nasby(dot)net
512.569.9461 (cell) http://jim.nasby.net

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2014-01-30 19:58:15 Re: updated emacs configuration
Previous Message Andrew Dunstan 2014-01-30 19:44:47 Re: Issue with PGC_BACKEND parameters

Browse pgsql-novice by date

  From Date Subject
Next Message Kevin Grittner 2014-01-30 20:08:30 Re: Update with last known location?
Previous Message James David Smith 2014-01-30 16:52:29 Re: Update with last known location?