Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Y9crq-0003j4-9s for pgsql-bugs@arkaria.postgresql.org; Fri, 09 Jan 2015 16:56:58 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Y9crp-00060j-No for pgsql-bugs@arkaria.postgresql.org; Fri, 09 Jan 2015 16:56:57 +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 1Y9bsm-0006Qi-6I for pgsql-bugs@postgresql.org; Fri, 09 Jan 2015 15:53:52 +0000 Received: from mail-we0-x233.google.com ([2a00:1450:400c:c03::233]) by makus.postgresql.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1Y9bsb-0002w8-Pr for pgsql-bugs@postgresql.org; Fri, 09 Jan 2015 15:53:50 +0000 Received: by mail-we0-f179.google.com with SMTP id q59so8679221wes.10 for ; Fri, 09 Jan 2015 07:53:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=8SxhZrYg4Tm7WyRpO5FG+jdY2Wv5fh8AJIzU1vds6kY=; b=j/hYocM7kdpXOLJhQKzhpQvkXvpWKQkWW68JK65K194DR4D2tysvP4a+d0fz87NZTP C4MD/VJ5Z+Qdg+4QwsUkY6pKIK4xd4YFvsJMrdV6ycn9C3j+2DBWaTOh9yBmbnZLT5ni 8hxU5c0Eebr57jPWpiRt5x/XkRlS4CTHwdR+fogGIb15b+Sxe3ffZDM0+R/T3a3Texw+ BysgI0e3ycVmG7ZB1Ol3yVWmxuqnH/1q2X1KAD5tsCGAddFHkKTQERffqGm7LEb61cd/ IDAaB4SFv6E9gHti9EDxekMjpME59MIuEuqLqbAuWR1elK1FYKyAqXuOUUR6NSV9bgXx 8E0A== X-Received: by 10.194.81.104 with SMTP id z8mr33069549wjx.45.1420818819906; Fri, 09 Jan 2015 07:53:39 -0800 (PST) MIME-Version: 1.0 Received: by 10.180.94.161 with HTTP; Fri, 9 Jan 2015 07:53:19 -0800 (PST) In-Reply-To: <20141205121927.GH31531@momjian.us> References: <20141128082816.5720.15278@wrigleys.postgresql.org> <20141205121927.GH31531@momjian.us> From: Marco Colombo Date: Fri, 9 Jan 2015 16:53:19 +0100 Message-ID: Subject: Re: BUG #12088: pg_upgrade 9.3 -> 9.4rc1 - implicit cast not ported To: Bruce Momjian Cc: pgsql-bugs@postgresql.org Content-Type: multipart/alternative; boundary=047d7bf0c58e0d061c050c3a29b4 X-Pg-Spam-Score: -2.7 (--) 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 --047d7bf0c58e0d061c050c3a29b4 Content-Type: text/plain; charset=UTF-8 Hi, I've tried to perform pg_dump with 9.3 binaries but I simply get no errors and cast are not part of the dump... So are not restored... How can I continue the investigation? 2014-12-05 13:19 GMT+01:00 Bruce Momjian : > 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. + > -- Ing. Marco Colombo --047d7bf0c58e0d061c050c3a29b4 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,
I've tried to perform pg_dump with 9.3 binarie= s but I simply get no errors and cast are not part of the dump...
So are not restored... How can I continue the investigation?

2014-12-05 13:19 GM= T+01:00 Bruce Momjian <bruce@momjian.us>:
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:=C2=A0 =C2=A0 =C2=A0 12088
> Logged by:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Marco Colombo
> Email address:=C2=A0 =C2=A0 =C2=A0 ing.marco.colombo@gmail.com
> PostgreSQL version: 9.4beta2
> Operating system:=C2=A0 =C2=A0Centos 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.

--
=C2=A0 Bruce Momjian=C2=A0 <bruce@mo= mjian.us>=C2=A0 =C2=A0 =C2=A0 =C2=A0 http://momjian.us
=C2=A0 EnterpriseDB=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0http://enterprisedb.com

=C2=A0 + Everyone has their own god. +



--
Ing. Marco Colombo
--047d7bf0c58e0d061c050c3a29b4--