Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id AC9206501EE for ; Thu, 4 Sep 2008 10:43:33 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 67867-03 for ; Thu, 4 Sep 2008 10:43:32 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from gattler.pezone.net (eisentraut.org [85.214.91.16]) by postgresql.org (Postfix) with ESMTP id D2F4B6501D5 for ; Thu, 4 Sep 2008 10:43:31 -0300 (ADT) Received: from dhcp-eesp05-101-151.Finland.Sun.COM (gmp-ea-fw-1.sun.com [192.18.1.36]) by gattler.pezone.net (Postfix) with ESMTP id A7F9215F080A; Thu, 4 Sep 2008 13:43:27 +0000 (UTC) Message-ID: <48BFE60E.6090706@gmx.net> Date: Thu, 04 Sep 2008 16:43:42 +0300 From: Peter Eisentraut User-Agent: Thunderbird 2.0.0.16 (Macintosh/20080707) MIME-Version: 1.0 To: Jan-Peter Seifert CC: Postgres Subject: Re: pg_dump etc. versions References: <20080903095613.311500@gmx.net> In-Reply-To: <20080903095613.311500@gmx.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200809/19 X-Sequence-Number: 30112 Jan-Peter Seifert wrote: > I'm wondering if there's a compatibility list of the tools supplied with PostgreSQL - e.g. psql seems to be very server version specific (only major or also minor versions?). > For pg_dump I'd say users should use the version of the target server if it's already installed, but is this also the case if the target server version is older? Am I completely wrong? Should I always use the pg_dump from the source server? When migrating from 8.1 to 8.2 I get several errors with commands regarding creating users and a lib that had been integrated into the core when restoring from the source server's pg_dump's dump. When using the target server's pg_dump for the dump I don't. But is then really everything okay? And pgAdmin comes with its own set of the PostgreSQL tools ... I think the only thing that we really check is that pg_dump of a newer version can dump databases from an older version server. All the other tools probably only work (completely) with a server from the same major release.