From: Marco Colombo <ing.marco.colombo@gmail.com>
To: Bruce Momjian <bruce@momjian.us>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #12088: pg_upgrade 9.3 -> 9.4rc1 - implicit cast not ported
Date: Fri, 9 Jan 2015 16:53:19 +0100
Message-ID: <CAOYH937AOSCxJAehFdzxBJJe-n_TxMZK07Mr19FJjD-vhPHO2w@mail.gmail.com> (raw)
In-Reply-To: <20141205121927.GH31531@momjian.us>
References: <20141128082816.5720.15278@wrigleys.postgresql.org>
<20141205121927.GH31531@momjian.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
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 <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: 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 <bruce@momjian.us> http://momjian.us
> EnterpriseDB http://enterprisedb.com
>
> + Everyone has their own god. +
>
--
Ing. Marco Colombo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: ing.marco.colombo@gmail.com, bruce@momjian.us
Subject: Re: BUG #12088: pg_upgrade 9.3 -> 9.4rc1 - implicit cast not ported
In-Reply-To: <CAOYH937AOSCxJAehFdzxBJJe-n_TxMZK07Mr19FJjD-vhPHO2w@mail.gmail.com>
References: <20141128082816.5720.15278@wrigleys.postgresql.org> <20141205121927.GH31531@momjian.us> <CAOYH937AOSCxJAehFdzxBJJe-n_TxMZK07Mr19FJjD-vhPHO2w@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox