X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 5C589D1D26C for ; Tue, 3 Feb 2004 13:06:49 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 10902-03 for ; Tue, 3 Feb 2004 09:06:44 -0400 (AST) Received: from smtp.lewczuk.com (118.224.149.195.tld.pl [195.149.224.118]) by svr1.postgresql.org (Postfix) with SMTP id 55DAAD1D179 for ; Tue, 3 Feb 2004 09:06:41 -0400 (AST) Received: (qmail 23904 invoked by uid 700); 3 Feb 2004 13:06:43 -0000 Received: from 118.224.149.195.tld.pl (HELO lewczuk.com) (marek@lewczuk.com@195.149.224.118) by 118.224.149.195.tld.pl with SMTP; 3 Feb 2004 13:06:43 -0000 Message-ID: <401F9CE1.5020604@lewczuk.com> Date: Tue, 03 Feb 2004 14:06:41 +0100 From: Marek Lewczuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Sam Barnett-Cormack Cc: PostgreSQL Administrators Mailing List Subject: Re: Removing OIDs References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200402/22 X-Sequence-Number: 12196 Sam Barnett-Cormack wrote: > Is there any way to remove OIDs from an existing table, or even a whole > database? I never use the damn things and my database is big, so I'd > like to do anything I can to shrink it. > > Also, are there any performance implications to this? > > I'm currently using 7.3.4, but will shortly be moving to 7.4 > ALTER TABLE [ ONLY ] name [ * ] SET WITHOUT OIDS ML.