Re: Testing patches - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: Testing patches
Date
Msg-id 20030526041918.GA13907@dcc.uchile.cl
Whole thread Raw
In response to Testing patches  (Nailah Ogeer <ogeer@cs.queensu.ca>)
Responses Re: Testing patches
List pgsql-hackers
On Fri, May 23, 2003 at 04:11:50PM -0400, Nailah Ogeer wrote:
> I have made some changes to the buffer manager of postgresql-7.1.3 in
> /storage/buffer and relcache.c in utils/cache.

The codebase has changed very much since 7.1.3 days.  Have you tried
adapting your patches to the 7.4 version (in CVS only) or the 7.3
released versions?

> The code makes fine but when i try to run initdb, it crashes. I have
> localized the problem to template1.bki and the error seems to be
> occurring at the INSERT statements. It is not liking them at all. Can
> anyone give me any tips as to where I should be looking to try to fix
> this problem

I've suffered from this pain before.  The only thing that I have been
able to do is run the initdb script by hand until the point of the
crash, and then run the exact commands in postgres.bki using a
standalone backend under a debugger.  Believe me, it's not a
particularly nice task.  But I haven't found another way.

-- 
Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
"Un poeta es un mundo encerrado en un hombre" (Victor Hugo)


pgsql-hackers by date:

Previous
From: The Hermit Hacker
Date:
Subject: Re: CVS Servers (Anonymous)
Next
From: Tom Lane
Date:
Subject: Re: Expect problems with PL/Python and Python version 2.2.3+ & 2.3+