Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YQ7pk-0003T6-BU for pgsql-bugs@arkaria.postgresql.org; Tue, 24 Feb 2015 05:15:00 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YQ7pj-0007Dj-N7 for pgsql-bugs@arkaria.postgresql.org; Tue, 24 Feb 2015 05:14:59 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YQ7pi-0007Dd-UZ for pgsql-bugs@postgresql.org; Tue, 24 Feb 2015 05:14:59 +0000 Received: from linode.thelabyrinth.net ([2600:3c00::f03c:91ff:fe69:8d76] helo=mail.thelabyrinth.net) by makus.postgresql.org with esmtps (TLS1.1:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1YQ7pb-0003gn-Vn for pgsql-bugs@postgresql.org; Tue, 24 Feb 2015 05:14:57 +0000 Received: from theseus.local (c-50-186-230-40.hsd1.fl.comcast.net [50.186.230.40]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: dsteele) by mail.thelabyrinth.net (Postfix) with ESMTPSA id 3FDA212D2D; Tue, 24 Feb 2015 05:14:45 +0000 (UTC) Message-ID: <54EC08C0.5030007@pgmasters.net> Date: Tue, 24 Feb 2015 00:14:40 -0500 From: David Steele User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Stephen Frost CC: pgsql-bugs@postgresql.org Subject: Re: View restore error in 9.3-9.4 upgrade References: <54EBA91C.1020907@pgmasters.net> <20150224005543.GG29780@tamriel.snowman.net> In-Reply-To: <20150224005543.GG29780@tamriel.snowman.net> OpenPGP: id=A2739CF3 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="SPLobx2IcRFeDe9UpRGBqn0CoseoBu4Wg" X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --SPLobx2IcRFeDe9UpRGBqn0CoseoBu4Wg Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 2/23/15 7:55 PM, Stephen Frost wrote: > David, >=20 > * David Steele (david@pgmasters.net) wrote: >> I upgraded from 9.3 to 9.4 last week using pg_dumpall and psql to dump= >> and import the database. I got an error during the creation of one of= >> the views and ended up having to patch the pl/pgsql manually to comple= te >> the migration. >=20 > Which pg_dumpall / pg_dump did you use? Generally speaking, you want t= o > be using the pg_dumpall and pg_dump from the version of PostgreSQL whic= h > you are upgrading *to*. In this case, you'd want to use the 9.4 > pg_dumpall and pg_dump. During the actual migration I used the 9.4 pg_dump, but for my tests I used 9.3. I just redid the tests exporting with 9.4 and it failed in the same way. --=20 - David Steele david@pgmasters.net --SPLobx2IcRFeDe9UpRGBqn0CoseoBu4Wg Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJU7AjAAAoJEIA2uIJQ5SFACtEQAKWI8fiM1QsPk0oskVsv1cAf VLeveeEcMrKdIKgW99BsBAj0A1NrtLk50zAHEjxkrOwbYdFRMsgAL/iTjgfpBTi2 c6pfQ/tsSNmP7kKlRzz4sjyAl1/uv2iQybHv8ljEurpnZb/Hd+kU/g8Pk+Taof9u facF3HeCDrHW7NaXAIOtD4Kg8oWQuMsFllK9QVc/1kwCSlreV1sdi5N2E39cIotv XSv/HBEZkKUnU073eR87zU81dbPNsZKvxs9ry9FJ2uF6el/87m9GN6jB6xo3dXeR OxrYyXGkXht6zHhum5YDJdecnRbTeGdr8PZU8GxtJieQ2pKRnToFfbJN+cZQ2l4k 5sdlHzGnGWFdlZDRcsmVZc33rDy046SUqefvO/FrFG9PboJ2QVG1A/7u62btv+nW Nc+wyE4P4TCfd6uVnhJo7HKv5bNyeWe7sUZmTNBhIukDB2KUBmKR9oGyWZN52DCM KVovuReb+1omdEXACp4tJWlVzuIa5m8q9WjGV3M1vPlTEhgIljwADUfxEpq7yb0Y ZerScwt+yg0MK8oJ4lmPBMtxtYNyc8ljMJygJQAFUAtqsEwtWg+0ToHkgxivvTsX kDuderTmuyEZu1IjWGLuiJ/7BbqNpVG+2bljeIqgUejitdC/i57EyhRmtvzmupwn e6Xh9Ht3eYNVbUu8lc9t =BTGE -----END PGP SIGNATURE----- --SPLobx2IcRFeDe9UpRGBqn0CoseoBu4Wg--