Skip site navigation (1) Skip section navigation (2)

initdb fails on ia64 SMP system

From: Ian Grant <Ian(dot)Grant(at)cl(dot)cam(dot)ac(dot)uk>
To: pgsql-bugs(at)postgresql(dot)org
Cc: Ian(dot)Grant(at)cl(dot)cam(dot)ac(dot)uk
Subject: initdb fails on ia64 SMP system
Date: 2002-08-20 10:54:16
Message-ID: E17h6eO-0000x7-00@wisbech.cl.cam.ac.uk (view raw or flat)
Thread:
Lists: pgsql-bugs
Hello PostgreSQL people,

Thanks for making PostgreSQL, it's great. Here's a bug report.

Thanks
Ian

Your name               : Ian Grant
Your email address      : ian(dot)grant(at)cl(dot)cam(dot)ac(dot)uk

System Configuration
---------------------
  Architecture (example: Intel Pentium)         : ia64, 4 way SMP

  Operating System (example: Linux 2.0.26 ELF)  : Linux 2.4.3 SMP kernel

  PostgreSQL version (example: PostgreSQL-7.2.1):   PostgreSQL-7.2.1

  Compiler used (example:  gcc 2.95.2)  : 2.96 20000731 (Red Hat Linux 7.1 
2.96-85)

Please enter a FULL description of your problem:
-------------------------------------------------

Running "initdb -D /data/path" fails. With debug enabled (-d switch) I get a 
trace which ends:

DEBUG:  inserting column 10 value 'byteain'
DEBUG:  Typ == NULL, typeindex = 7
DEBUG:   -> byteain
DEBUG:  inserted
DEBUG:  inserting column 11 value 'byteaout'
DEBUG:  Typ == NULL, typeindex = 7
ERROR:  Relation "pg_class" does not exist

initdb failed.
Removing /local/scratch/ig206/postgresql_data.

Running the same command again causes it to fail somewhere different, e.g.:

DEBUG:  inserting column 9 value '0'
DEBUG:  Typ == NULL, typeindex = 9
DEBUG:   -> 0
DEBUG:  inserted
DEBUG:  inserting column 10 value 'cidin'
DEBUG:  Typ == NULL, typeindex = 7
DEBUG:   -> cidin
DEBUG:  inserted
DEBUG:  inserting column 11 value 'cidout'
DEBUG:  Typ == NULL, typeindex = 7
ERROR:  Relation "pg_class" does not exist

initdb failed.
Removing /local/scratch/ig206/postgresql_data.

It's not always pg_class which doesn't exist, e.g.:

DEBUG:  inserting column 10 value 'boolin'
DEBUG:  Typ == NULL, typeindex = 7
DEBUG:   -> boolin
DEBUG:  inserted
DEBUG:  inserting column 11 value 'boolout'
DEBUG:  Typ == NULL, typeindex = 7
ERROR:  Relation "pg_proc" does not exist


Please describe a way to repeat the problem.   Please try to provide a
concise reproducible example, if at all possible: 
-----------------------------------------------------------------------

Build postgresql 7.2.1 on an SMP ia64 machine and run initdb?

If you know how this problem might be fixed, list the solution below:
----------------------------------------------------------------------

Sorry, I have no idea at all.

-- 
Ian Grant, Computer Lab., William Gates Building, JJ Thomson Ave., Cambridge
Phone: +44 1223 334420

-- 
Ian Grant, Computer Lab., William Gates Building, JJ Thomson Ave., Cambridge
Phone: +44 1223 334420



Responses

pgsql-bugs by date

Next:From: Tom LaneDate: 2002-08-20 14:48:59
Subject: Re: initdb fails on ia64 SMP system
Previous:From: Tom LaneDate: 2002-08-18 20:17:17
Subject: Re: cube output function can overrun its buffer

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group