Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 86CE647608D for ; Tue, 5 Nov 2002 08:30:08 -0500 (EST) Received: from anchor-post-31.mail.demon.net (anchor-post-31.mail.demon.net [194.217.242.89]) by postgresql.org (Postfix) with ESMTP id B26D7475E9D for ; Tue, 5 Nov 2002 08:30:00 -0500 (EST) Received: from mwynhau.demon.co.uk ([193.237.186.96] helo=mainbox.archonet.com) by anchor-post-31.mail.demon.net with esmtp (Exim 3.35 #1) id 1893mN-000HA9-0V; Tue, 05 Nov 2002 13:30:03 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by mainbox.archonet.com (Postfix) with ESMTP id 74A5A178DF; Tue, 5 Nov 2002 13:21:24 +0000 (GMT) Received: from client.archonet.com (client.archonet.com [192.168.1.16]) by mainbox.archonet.com (Postfix) with ESMTP id E0D43178DD; Tue, 5 Nov 2002 13:21:23 +0000 (GMT) Content-Type: text/plain; charset="iso-8859-1" From: Richard Huxton Organization: Archonet Ltd To: "cristi" , Subject: Re: owner of type 'mmm' apperars to be invalid Date: Tue, 5 Nov 2002 13:21:31 +0000 User-Agent: KMail/1.4.3 References: <003d01c28490$310d2fa0$7201a8c0@aaa> <200211051222.18585.dev@archonet.com> <015301c284cb$aba15620$7201a8c0@aaa> In-Reply-To: <015301c284cb$aba15620$7201a8c0@aaa> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200211051321.31846.dev@archonet.com> X-Virus-Scanned: by AMaViS snapshot-20020531 X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200211/58 X-Sequence-Number: 10200 On Tuesday 05 Nov 2002 1:03 pm, cristi wrote: > It shouldn't be this the solution of the problem? > > salt=3D# delete from pg_type where typname=3D'refcursor'; > DELETE 1 > salt=3D# delete from pg_type where typname=3D'eee'; > DELETE 1 > salt=3D# delete from pg_type where typname=3D'mmm'; > DELETE 1 > > Now, I don't have the error message! > > Mr.Richard Huxton, thank you very much! But - you have deleted the "refcursor" type which is not a good idea! If yo= u=20 don't use cursors you might get away with it, but I'd be nervous about it. If you create a new database does it contain the refcursor type? If so, dro= p=20 and recreate the database, restoring the data to it. If not, I think you'll= =20 need to restore the template1 db - there's an article on=20 techdocs.postgresql.org about this (byJosh IIRC). --=20 Richard Huxton