Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XwrrH-0007q9-Re for pgsql-bugs@arkaria.postgresql.org; Fri, 05 Dec 2014 12:19:39 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1XwrrH-0008Ax-Ap for pgsql-bugs@arkaria.postgresql.org; Fri, 05 Dec 2014 12:19:39 +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 1XwrrG-00088e-5G for pgsql-bugs@postgresql.org; Fri, 05 Dec 2014 12:19:38 +0000 Received: from momjian.us ([72.94.173.45]) by makus.postgresql.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1Xwrr8-0002vc-OG for pgsql-bugs@postgresql.org; Fri, 05 Dec 2014 12:19:36 +0000 Received: from bruce by momjian.us with local (Exim 4.72) (envelope-from ) id 1Xwrr5-0002jR-Mv; Fri, 05 Dec 2014 07:19:27 -0500 Date: Fri, 5 Dec 2014 07:19:27 -0500 From: Bruce Momjian To: ing.marco.colombo@gmail.com Cc: pgsql-bugs@postgresql.org Subject: Re: BUG #12088: pg_upgrade 9.3 -> 9.4rc1 - implicit cast not ported Message-ID: <20141205121927.GH31531@momjian.us> References: <20141128082816.5720.15278@wrigleys.postgresql.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20141128082816.5720.15278@wrigleys.postgresql.org> User-Agent: Mutt/1.5.20 (2009-06-14) 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 On Fri, Nov 28, 2014 at 08:28:16AM +0000, ing.marco.colombo@gmail.com wrote: > The following bug has been logged on the website: > > Bug reference: 12088 > Logged by: Marco Colombo > Email address: ing.marco.colombo@gmail.com > PostgreSQL version: 9.4beta2 > Operating system: Centos 7 64bit > Description: > > Hi, we have defined some implicit cast in the schema. After pg_upgrade > process, these have been dropped and we had to create them again. > > Cast are defined as: > > create cast (varchar as numeric) with inout as implicit; > > create cast (unknown as numeric) with inout as implicit; > > create cast (unknown as text) with inout as implicit; > > create cast (unknown as integer) with inout as implicit; Well, pg_ugprade uses pg_dump to restore objects so I suggest you look at the pg_dump output of 9.3 to see why they were not output. -- Bruce Momjian http://momjian.us EnterpriseDB http://enterprisedb.com + Everyone has their own god. + -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs