Nailah Ogeer <ogeer@cs.queensu.ca> writes:
> I have made some changes to the buffer manager of postgresql-7.1.3 in
> /storage/buffer and relcache.c in utils/cache. 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
Fooling with bufmgr and relcache wouldn't be my recommendation for what
to do in your first venture into backend programming ;-). Have you
collected a stack trace to show where the crash is happening?
regards, tom lane