From: | "Johnson, Shaunn" <SJohnson6(at)bcbsm(dot)com> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: SOLVED: invalid type error |
Date: | 2002-06-03 20:31:36 |
Message-ID: | 73309C2FDD95D11192E60008C7B1D5BB04C73B47@snt452.corp.bcbsm.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
--Jan:
--don't worry, i wasn't offended; i'm sorry
i didn't wait around for someone to point
me in the right direction.
--and messing around in a system table
that i have very little knowledge of scared
me, too ... i *wanted* to be discouraged.
--what motivated me was something i read
in the groups.google.com comp.databases.postgresql.admin
news group. someone had a similar problem and it was
pointed out (me thinks by tom lane?) that
there could be bogus value in pg_class,
pg_function, etc ...
--i deleted the function and then the rows
where the typowner was '0' and the names typname
was '<whatever>'.
--from now on i will wait until i get a better
handle on how i butchered the db before i go
guns-a-blazing.
--thanks for the follow up!!
-X
-----Original Message-----
From: Jan Wieck [mailto:janwieck(at)yahoo(dot)com]
Shaunn,
that reply below wasn't meant personal or in any way
offending. I more wanted to use it as a chance to discourage
people from manipulating the system catalog in general. This
is usually a bad idea and since system catalog structures can
change from version to version, what worked perfectly
yesterday could end in a catastrophe tomorrow.
Jan
Jan Wieck wrote:
> Johnson, Shaunn wrote:
> > --Never mind; I solved it.
> >
> > --It had to do with something in pg_type.
>
> Just deleted the rows from pg_type?
>
> If so, congrats, in this case it is one of the possible
> solutions. In some other cases you might well mess up your
> entire DB's system catalog by shooting around in the pg_*
> tables like that without the advice of someone who really
> knows what she's doing there.
>
>
> Jan
>
From | Date | Subject | |
---|---|---|---|
Next Message | Joshua b. Jore | 2002-06-03 21:21:53 | Re: ctid & updates |
Previous Message | Doug Fields | 2002-06-03 20:06:36 | Re: Automatic value truncation during update |