"cool shower" <coolshower2008@yahoo.co.jp> writes:
> <pg_attribute>
> attrelid addname atttypid attstattarget attlen
> attnum
> 45762 santeiflg18_4 0 0 0
> 0 (?)
What do you mean by "0 (?)"? There shouldn't be any entries in
pg_attribute with attnum zero. The row looks pretty completely bogus
otherwise, so I wonder if it's something you put in manually in a
misguided effort to fix whatever the real problem is.
As Kevin noted, 8.1.8 is really ancient, so you ought to update to
8.1.something-recent before you spend much more time on this.
regards, tom lane