Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 94742476309 for ; Tue, 5 Nov 2002 10:00:02 -0500 (EST) Received: from anchor-post-39.mail.demon.net (anchor-post-39.mail.demon.net [194.217.242.80]) by postgresql.org (Postfix) with ESMTP id 09A6E4762A6 for ; Tue, 5 Nov 2002 10:00:00 -0500 (EST) Received: from mwynhau.demon.co.uk ([193.237.186.96] helo=mainbox.archonet.com) by anchor-post-39.mail.demon.net with esmtp (Exim 3.36 #2) id 1895BT-0001a3-0U; Tue, 05 Nov 2002 15:00:03 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by mainbox.archonet.com (Postfix) with ESMTP id 3110F178F6; Tue, 5 Nov 2002 14:50:56 +0000 (GMT) Received: from client.archonet.com (client.archonet.com [192.168.1.16]) by mainbox.archonet.com (Postfix) with ESMTP id 8D13016D9D; Tue, 5 Nov 2002 14:50:55 +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 14:51:03 +0000 User-Agent: KMail/1.4.3 References: <003d01c28490$310d2fa0$7201a8c0@aaa> <200211051321.31846.dev@archonet.com> <019501c284d8$1f0c5720$7201a8c0@aaa> In-Reply-To: <019501c284d8$1f0c5720$7201a8c0@aaa> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200211051451.03482.dev@archonet.com> X-Virus-Scanned: by AMaViS snapshot-20020531 X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200211/62 X-Sequence-Number: 10204 On Tuesday 05 Nov 2002 2:32 pm, cristi wrote: > On Tuesday 05 Nov 2002 1:03 pm, cristi wrote: > >But - you have deleted the "refcursor" type which is not a good idea! If > Ooo!!!! > Yes, I see... > You right. > > >If so, drop and recreate the database, restoring the data to it. If not,= I > think you'll > >need to restore the template1 db - there's an article on > >techdocs.postgresql.org about this (byJosh IIRC). > > Would you give me the URL address for this article? > Please! It's "Adventures in PostgreSQL, Episode 1 by Josh Berkus" at http://techdocs.postgresql.org/ Loads of other good stuff there too. Might not be necessary though - if the template1 db contains the refcursor= =20 type definition then you just need to drop and recreate the problem databas= e. --=20 Richard Huxton