Received: from nsi.edu (amethea.nsi.edu [198.133.185.9]) by hub.org (8.9.3/8.9.3) with ESMTP id PAA24600 for ; Tue, 31 Aug 1999 15:03:37 -0400 (EDT) (envelope-from reina@nsi.edu) Received: from nsi.edu (o21.nsi.edu [204.128.156.216]) by nsi.edu (8.9.1/8.9.1) with ESMTP id LAA23041; Tue, 31 Aug 1999 11:59:49 -0700 (PDT) Sender: reina@nsi.edu Message-ID: <37CC28BC.FA3D9BEC@nsi.edu> Date: Tue, 31 Aug 1999 12:10:52 -0700 From: "G. Anthony Reina" Organization: The Neurosciences Institute X-Mailer: Mozilla 4.61 [en] (X11; U; IRIX 6.5 IP32) X-Accept-Language: en MIME-Version: 1.0 To: Tom Lane CC: "pgsql-hackers@postgreSQL.org" Subject: Re: [HACKERS] ERROR: Unable to locate type oid 718 in catalog References: <16230.936122891@sss.pgh.pa.us> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Tom Lane wrote: > A quick glimpse says that the only occurrences of that error text are > in parse_type.c, which is not code that I'd think would get called from > vacuum. Odd. > > If you do "select * from pg_type where oid = 718;" you should get > > typname|typowner|typlen|typprtlen|typbyval|typtype|typisdefined|typdelim|typrelid|typelem|typinput |typoutput |typreceive|typsend |typalign|typdefault > -------+--------+------+---------+--------+-------+------------+--------+--------+-------+---------+----------+----------+----------+--------+---------- > circle | 256| 24| 47|f |b |t |, | 0| 0|circle_in|circle_out|circle_in |circle_out|d | > (1 row) > > If you don't then indeed pg_type is corrupted. > > regards, tom lane Okay, I found out why I am getting this error. My partner is building a table which he is calling 'circle'. Of course, circle is a pg_type in the PostgreSQL. So he DROP TYPE'd circle from the database (we don't need that type anyway). For some reason, the database seems to not mind this until I do the vacuum analyze. Any suggestions on a workaround? We'd really prefer to use 'circle' as a tablename and don't need it as a pg_type. -Tony