Lists: | pgsql-hackers |
---|
From: | Jeroen van Vianen <jeroen(at)design(dot)nl> |
---|---|
To: | pgsql-hackers(at)postgresql(dot)org |
Subject: | SIGSEGV in initdb |
Date: | 1999-12-18 01:59:17 |
Message-ID: | 4.2.0.58.19991218025138.0096c370@mail.design.nl |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers |
While updating my local copy to current sources and running initdb I got a
SIGSEGV at bootstrap.c:465 while adding template1 to pg_database.
This is because RelationBuildDesc in relcache.c returns a NULL at line 766.
The comments above this line say:
find the tuple in pg_class corresponding to the given relation id
if no such tuple exists, return NULL
(the relation is pg_database)
There seems to be some kind of error in the order in which the database is
bootstrapped and the system tables are created and filled.
Any ideas?
Cheers,
Jeroen
From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Jeroen van Vianen <jeroen(at)design(dot)nl> |
Cc: | pgsql-hackers(at)postgreSQL(dot)org |
Subject: | Re: [HACKERS] SIGSEGV in initdb |
Date: | 1999-12-18 02:41:22 |
Message-ID: | 199912180241.VAA29530@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers |
> While updating my local copy to current sources and running initdb I got a
> SIGSEGV at bootstrap.c:465 while adding template1 to pg_database.
>
> This is because RelationBuildDesc in relcache.c returns a NULL at line 766.
> The comments above this line say:
>
> find the tuple in pg_class corresponding to the given relation id
> if no such tuple exists, return NULL
>
> (the relation is pg_database)
>
> There seems to be some kind of error in the order in which the database is
> bootstrapped and the system tables are created and filled.
Yes, initdb is totally messed up right now. Peter, please...
--
Bruce Momjian | http://www.op.net/~candle
maillist(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026