Received: from magus.postgresql.org (magus.postgresql.org [87.238.57.229]) by mail.postgresql.org (Postfix) with ESMTP id 2A9B762698A for ; Mon, 16 Apr 2012 05:17:54 -0300 (ADT) Received: from exprod7og127.obsmtp.com ([64.18.2.210]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1SJh8A-0004ob-63 for pgsql-bugs@postgresql.org; Mon, 16 Apr 2012 08:17:53 +0000 Received: from mail-lpp01m010-f49.google.com ([209.85.215.49]) (using TLSv1) by exprod7ob127.postini.com ([64.18.6.12]) with SMTP ID DSNKT4vVn1CMlaDZzskBFWWttJ+hI09ayxS7@postini.com; Mon, 16 Apr 2012 01:17:49 PDT Received: by lagy4 with SMTP id y4so4865798lag.22 for ; Mon, 16 Apr 2012 01:17:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding :x-gm-message-state; bh=BocoVP7S2kPcZmPBBHmjzVZYobBUlsKsKjPCy6K+6yY=; b=nXl3b1pPNbcS2gYn4GAEJH6oPEWscoGqTqFA/9IHr94tD1T2Bgzl/5ZBY9a7uIE4ji LWPPMamdywpTFMkGRL0SQTnPQmVSFVjdM68QuocsGfTS1wbK+5/W/+34BMJVfIrrq1oJ O8MwuOZMGUHb16YRHSgaPAVLDH7sdD6cCdrDpaIMGCemULai1HOo+XxDv//hzHsiwUC5 jodI73RmwvH6wLeyUtrwNbhT+LKTBFMruNyx/OGNtc2ffyunRsRHy1Z1JQ1QUgVxnALJ kzE1k1XSHyhOPNsYGX9xXoyL0ebFN0Ki+sCKmtB8t8p0yivzeulXdAJuVC1SWK/SB2sE QOfg== Received: by 10.112.98.162 with SMTP id ej2mr5046628lbb.98.1334564254119; Mon, 16 Apr 2012 01:17:34 -0700 (PDT) Received: from [192.168.1.101] (dsl-hkibrasgw2-ff6cc300-200.dhcp.inet.fi. [88.195.108.200]) by mx.google.com with ESMTPS id mm11sm18648166lab.2.2012.04.16.01.17.32 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 16 Apr 2012 01:17:33 -0700 (PDT) Message-ID: <4F8BD59B.6040802@enterprisedb.com> Date: Mon, 16 Apr 2012 11:17:31 +0300 From: Heikki Linnakangas User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.3) Gecko/20120329 Icedove/10.0.3 MIME-Version: 1.0 To: helgisteinar@gmail.com CC: pgsql-bugs@postgresql.org Subject: Re: BUG #6591: pg_dump version not compatible References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQlhlENLHe46iJxbCwy1IOpkQCcjbrbNW1k+NfTLWoKkRI24kzZJUws5QBgSWxrsIKxIHE9p X-Pg-Spam-Score: -4.2 (----) X-Archive-Number: 201204/100 X-Sequence-Number: 32851 On 15.04.2012 22:07, helgisteinar@gmail.com wrote: > The following bug has been logged on the website: > > Bug reference: 6591 > Logged by: Helgi Steinar > Email address: helgisteinar@gmail.com > PostgreSQL version: 9.1.3 > Operating system: Mac OSX 10.7.3 > Description: > > I downloaded and installed the version of Postgres using the installer from > http://www.enterprisedb.com/products-services-training/pgdownload#osx > > When trying to use pg_dump the result is > > pg_dump: server version: 9.1.3; pg_dump version: 9.0.5 You need to use a pg_dump version that's greater than or equal to the version of the server. It looks like your pg_dump binary is not the version that comes with the server installer. Maybe you had an older version of PostgreSQL installed already, and running "pg_dump" in a shell picked up the older version? Check your $PATH. -- Heikki Linnakangas EnterpriseDB http://www.enterprisedb.com