Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kj2vB-0001yQ-Pv for pgsql-general@arkaria.postgresql.org; Sat, 28 Nov 2020 16:18:01 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kj2vA-0002kU-KT for pgsql-general@arkaria.postgresql.org; Sat, 28 Nov 2020 16:18:00 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kj2vA-0002kN-Cg for pgsql-general@lists.postgresql.org; Sat, 28 Nov 2020 16:18:00 +0000 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kj2v8-0006KO-8W for pgsql-general@lists.postgresql.org; Sat, 28 Nov 2020 16:17:59 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id DC649ABF; Sat, 28 Nov 2020 11:17:56 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Sat, 28 Nov 2020 11:17:57 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm1; bh=O IoDaqMZgDNKJoQ8o0a5zhBayTL6YzHo/DgHKTj9/pA=; b=PPVjBc9ZTYjpnUECf 7/tjVRoSB7tDmVwE3jwVukyPT6T6gFleOZrmOhNxAmN7fbGI5spShJ633Ud9bzB2 8yZRtzjOXQPaEH8Pifo0DrQbcIEWH5TEPIkzJ9W760F3Sf9Q1n2jS4OXro9A6GRt CJmIjPeq/TooifNQbfETNwghtqIcMI2UicHG8/JWly0bOAgC+BggORGziSTVQwYN TItgbfFgZ6L9kYU1cCw1bx+wAH5gvZ/brC+SKaDZY2OK2Cyp9mkhpntSQHg/CCIw 7ELyaKnbz7oYBSmIIPcyN/9TPlv/pCb+bQcsBlXBGqWvpMT6L1nUcYk+3RxisoF0 HBrww== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=OIoDaqMZgDNKJoQ8o0a5zhBayTL6YzHo/DgHKTj9/ pA=; b=Ai/JMa1XWbt5o+eYrTzE0znjTFpjUUN7IOMFO80w/f/GKfABnZnlA4zHm VEdqAXLJvX5FTQ7vWHEHoIHc7RQ3oqdALyxIXKobjvKTkD6/m1Thn2koKdLFL2DD 5qlXZEx2od3h+omRT87lGcYyji5Hpn4owCgrOVH32CAiQUnXB8PpWXrFMfXJg8gH DVpSuYdC1Pj4tECzxj1ikQkIHi3qIT0+29dJYuMWCHYQUAGbYc9R86Q6T9MFrZUX Ei/J6pbuGQHtfa45Yk1u2ZrsKSo3CBA5VAGB9pUrD22wjwC4MOaK2pPzfqyAo0eU YbC4hTaXPq1UqogxrR6qmBWl/nO5Q== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrudehiedgkeekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepuffvfhfhkffffgggjggtgfesthejredttdefjeenucfhrhhomheptegurhhi rghnucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtoh hmqeenucggtffrrghtthgvrhhnpefhueegfeevudevteefjeejffdtudekjeehhefgieet teekgfejhefgtdeutdetudenucffohhmrghinhepshhtrggtkhhovhgvrhhflhhofidrtg homhenucfkphepjeehrddujedvrddurdeileenucevlhhushhtvghrufhiiigvpedtnecu rfgrrhgrmhepmhgrihhlfhhrohhmpegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvg hrrdgtohhm X-ME-Proxy: Received: from [192.168.1.4] (75-172-1-69.tukw.qwest.net [75.172.1.69]) by mail.messagingengine.com (Postfix) with ESMTPA id E2ACC3064AA7; Sat, 28 Nov 2020 11:17:55 -0500 (EST) Subject: Re: pgdump version mismatch error. server version: 13.0; pg_dump version: 12.4 To: mark armon <1994hejian@gmail.com>, "pgsql-generallists.postgresql.org" References: From: Adrian Klaver Message-ID: <19abe150-d8fe-5ae7-9b93-d70dfc21dd1c@aklaver.com> Date: Sat, 28 Nov 2020 08:17:55 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 11/28/20 8:12 AM, mark armon wrote: > > OS: Windows > issue: > https://stackoverflow.com/questions/14168920/how-to-fix-pg-dump-version-mismatch-errors > > > |pg_dump: error: server version: 13.0; pg_dump version: 12.4 pg_dump: > error: aborting because of server version mismatch | > You are trying to dump a Postgres 13.0 version instance using the 12.4 version of pg_dump. That will not work as the error says. You need to find and use the 13.0 version of pg_dump and use that. FYI, it will work the other way e.g. a newer version of pg_dump can dump an older version of Postgres. -- Adrian Klaver adrian.klaver@aklaver.com