>
>
> 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@candle.pha.pa.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)