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

Re: [HACKERS] alpha/64bit weirdness

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: brett(at)chicken(dot)org (Brett McCormick)
Cc: pgsql-hackers(at)hub(dot)org
Subject: Re: [HACKERS] alpha/64bit weirdness
Date: 1998-03-04 23:31:34
Message-ID: 199803042331.SAA24878@candle.pha.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackers
> 
> 
> I've made a little headway -- it can't find the mkoidname function
> because the attributes that it looks up for the argument types have a
> atttypid of 0 (see the following example):
> 
> also, other information that should be in there is not, so it makes me
> suspect something wrong with insertion of attributes?  I don't know
> enough to be able to see if this is affecting all attributes or just
> some of them.
> 
> Does anyone have any pointers to where to check this problem out?
> 
> $4 = {attrelid = 1249, attname = {
>     data = "\000\000\000\000attrelid", '\000' <repeats 19 times>}, 
>   atttypid = 0, attdisbursion = 6.89648632e-314, attlen = 0, attnum = 0, 
>   attnelems = 65540, attcacheoff = 0, atttypmod = -1, attbyval = -1 ', 
>   attisset = -1 ', attalign = -1 ', attnotnull = -1 ', 
>   atthasdef = 1 '\001'}
> 
> 

I have an idea.   Edit initdb and add a '-d 3' option to each
'postgres', then run initdb.  You will see dumps of all the structures
as things are happening, I think.  Give it a try.

-- 
Bruce Momjian                          |  830 Blythe Avenue
maillist(at)candle(dot)pha(dot)pa(dot)us              |  Drexel Hill, Pennsylvania 19026
  +  If your life is a hard drive,     |  (610) 353-9879(w)
  +  Christ can be your backup.        |  (610) 853-3000(h)

In response to

Responses

pgsql-hackers by date

Next:From: Brett McCormickDate: 1998-03-05 00:01:05
Subject: Re: [HACKERS] alpha/64bit weirdness
Previous:From: Brett McCormickDate: 1998-03-04 23:24:00
Subject: alpha/64bit weirdness

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