X-Original-To: pgsql-general-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id B4E019DCAC1; Thu, 2 Mar 2006 11:57:54 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 96045-05; Thu, 2 Mar 2006 11:57:59 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- X-Greylist: from auto-whitelisted by SQLgrey- Received: from tigger.fuhr.org (tigger.fuhr.org [63.214.45.158]) by postgresql.org (Postfix) with ESMTP id 4C61D9DCAAF; Thu, 2 Mar 2006 11:57:52 -0400 (AST) Received: from winnie.fuhr.org (winnie.fuhr.org [10.1.0.1]) by tigger.fuhr.org (8.13.3/8.13.3) with ESMTP id k22Fvrl4079430 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 2 Mar 2006 08:57:55 -0700 (MST) (envelope-from mfuhr@winnie.fuhr.org) Received: from winnie.fuhr.org (localhost [127.0.0.1]) by winnie.fuhr.org (8.13.4/8.13.4) with ESMTP id k22FvqCu007112; Thu, 2 Mar 2006 08:57:52 -0700 (MST) (envelope-from mfuhr@winnie.fuhr.org) Received: (from mfuhr@localhost) by winnie.fuhr.org (8.13.4/8.13.4/Submit) id k22Fvqtr007111; Thu, 2 Mar 2006 08:57:52 -0700 (MST) (envelope-from mfuhr) Date: Thu, 2 Mar 2006 08:57:52 -0700 From: Michael Fuhr To: Emil Rachovsky Cc: "pgsql-general@postgresql.org" , "pgsql-sql@postgresql.org" Subject: Re: [SQL] Without OIDs Message-ID: <20060302155752.GA6992@winnie.fuhr.org> References: <20060302131454.31092.qmail@web54309.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060302131454.31092.qmail@web54309.mail.yahoo.com> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.122 required=5 tests=[AWL=0.122] X-Spam-Score: 0.122 X-Spam-Level: X-Archive-Number: 200603/67 X-Sequence-Number: 91932 On Thu, Mar 02, 2006 at 05:14:54AM -0800, Emil Rachovsky wrote: > I'm creating a temporary table in a function and using > Alter Table ... Without OIDs, but when the function is Why alter the table? Why not specify WITHOUT OIDS when you create the table? > called for the second time I get an error "relation > with OIDs ... doesn't exist" on an insert statement to > the table. I'm using Postgre 8.0 which says that > supports without OIDs. Any suggestions? This problem isn't related to WITHOUT OIDS. See FAQ 4.19 for an explanation: http://www.postgresql.org/docs/faqs.FAQ.html#item4.19 -- Michael Fuhr