X-Original-To: pgsql-hackers-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id F23ABD1B54E for ; Fri, 21 Nov 2003 19:09:16 +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 70026-02 for ; Fri, 21 Nov 2003 15:08:46 -0400 (AST) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by svr1.postgresql.org (Postfix) with ESMTP id E60B7D1CC81 for ; Fri, 21 Nov 2003 15:08:41 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.10/8.12.10) with ESMTP id hALJ8T19023266; Fri, 21 Nov 2003 14:08:29 -0500 (EST) To: Jan Wieck Cc: Alvaro Herrera , Christopher Kings-Lynne , Peter Eisentraut , PostgreSQL Development Subject: Re: Release cycle length In-reply-to: <3FBE5A46.4090102@Yahoo.com> References: <20031117202346.M731@ganymede.hub.org> <3FBB7F20.8050005@Yahoo.com> <6400.1069359578@sss.pgh.pa.us> <3FBD6CAA.7040500@familyhealth.com.au> <20031121130359.GE26392@dcc.uchile.cl> <3FBE5A46.4090102@Yahoo.com> Comments: In-reply-to Jan Wieck message dated "Fri, 21 Nov 2003 13:32:38 -0500" Date: Fri, 21 Nov 2003 14:08:28 -0500 Message-ID: <23265.1069441708@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200311/1201 X-Sequence-Number: 47489 Jan Wieck writes: > Alvaro Herrera wrote: >> One of the most complex would be to avoid the need of pg_dump for >> upgrades ... > We don't need a simple way, we need a way to create some sort of catalog > diff and "a safe" way to apply that to an existing installation during > the upgrade. I still think that pg_upgrade is the right idea: load a schema dump from the old database into the new one, then transfer the user data files and indexes via cheating (doubly linking, if possible). Obviously there is a lot of work still to make this happen reliably, but we have seen proof-of-concept some while ago, whereas "catalog diffs" are pie in the sky IMHO. (You could not use either the old postmaster version or the new version to apply such a diff...) A big advantage of the pg_upgrade concept in my mind is that if it fails partway through, you need have made no changes to the original installation. Any mid-course problem with an in-place-diff approach leaves you completely screwed :-( regards, tom lane