Received: from localhost (unknown [200.46.204.183]) by developer.postgresql.org (Postfix) with ESMTP id 535902E003F for ; Wed, 18 Jun 2008 15:24:20 -0300 (ADT) Received: from developer.postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 64510-10 for ; Wed, 18 Jun 2008 15:24:15 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from polaris.pinpointresearch.com (66-7-238-130.static-ip.telepacific.net [66.7.238.130]) by developer.postgresql.org (Postfix) with ESMTP id CFB422E0037 for ; Wed, 18 Jun 2008 15:24:16 -0300 (ADT) Received: from [192.168.1.179] (betelgeuse.pinpointresearch.com [192.168.1.179]) by polaris.pinpointresearch.com (Postfix) with ESMTP id 3DBD8E00EC84; Wed, 18 Jun 2008 11:24:15 -0700 (PDT) Message-ID: <485952CF.2030600@pinpointresearch.com> Date: Wed, 18 Jun 2008 11:24:15 -0700 From: Steve Crawford User-Agent: Thunderbird 2.0.0.14 (X11/20080502) MIME-Version: 1.0 To: Achilleas Mantzios CC: pgsql-admin@postgresql.org Subject: Re: Major upgrade advice References: <48594429.7040001@pinpointresearch.com> <200806182100.30833.achill@matrix.gatewaynet.com> In-Reply-To: <200806182100.30833.achill@matrix.gatewaynet.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200806/147 X-Sequence-Number: 29485 Achilleas Mantzios wrote: > pg_dump by default ommits OIDs. > However why do you want to completely remove OID functionality? > space usage? > It doesn't backup the OIDs themselves, but it does set "with oids" if the table had them. Per docs (http://www.postgresql.org/docs/8.3/static/runtime-config-compatible.html): "The use of OIDs in user tables is considered deprecated, so most installations should leave this variable disabled. Applications that require OIDs for a particular table should specify WITH OIDS when creating the table. This variable can be enabled for compatibility with old applications that do not follow this behavior." I want to incorporate current recommended practice with the upgrade. Per longstanding recommendation, we don't use OIDs. Saving 4-bytes/row on millions of rows is nice, too. Cheers, Steve