From: Tom Lane <tgl@sss.pgh.pa.us>
To: Christophe Pettus <xof@thebuild.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: pg_get_viewdef() drops casts, causing broken definitions
Date: Fri, 13 May 2016 23:01:54 -0400
Message-ID: <32135.1463194914@sss.pgh.pa.us> (raw)
In-Reply-To: <E0D9B9D6-5242-4BD2-962F-793014830261@thebuild.com>
References: <E0D9B9D6-5242-4BD2-962F-793014830261@thebuild.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
Christophe Pettus <xof@thebuild.com> writes:
> PostgreSQL 9.5.2.
> Summary: The view text returned by pg_get_viewdef() strips some casts, which can result in an error in trying to recreate the view. This means you can't successfully recreate those views from a pg_dump.
Fixed as of 9.5.3.
http://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=1f7c85b820814810f985a270e92cde4c12...
regards, tom lane
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
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: tgl@sss.pgh.pa.us, xof@thebuild.com
Subject: Re: pg_get_viewdef() drops casts, causing broken definitions
In-Reply-To: <32135.1463194914@sss.pgh.pa.us>
References: <E0D9B9D6-5242-4BD2-962F-793014830261@thebuild.com> <32135.1463194914@sss.pgh.pa.us>
* 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