From: robf.42@gmail.com
To: pgsql-bugs@postgresql.org
Subject: BUG #14029: PgAdmin III truncates reverse engineered SQL script for a materialized vw if contains a semicolon
Date: Thu, 17 Mar 2016 17:39:56 +0000
Message-ID: <20160317173956.5173.23917@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
The following bug has been logged on the website:
Bug reference: 14029
Logged by: Rob Flemming
Email address: robf.42@gmail.com
PostgreSQL version: 9.3.11
Operating system: Windows 7 Professional
Description:
PgAdmin III truncates reverse engineered SQL script for a materialized view
if it contains a semicolon.
e.g.:
CREATE TABLE hello_tbl (txtcol text);
INSERT INTO hello_tbl VALUES ('Hello'),('World');
CREATE MATERIALIZED VIEW vw_hello AS
SELECT string_agg(txtcol, '; ') FROM hello_tbl;
A view is fine, but with the materialized view all the query after the first
semicolon is dropped.
The materialized view still produces the correct result, but the query text
is lost (unless you save it somewhere else).
Thanks!
pgAdmin Version 1.18.1
--
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: robf.42@gmail.com
Subject: Re: BUG #14029: PgAdmin III truncates reverse engineered SQL script for a materialized vw if contains a semicolon
In-Reply-To: <20160317173956.5173.23917@wrigleys.postgresql.org>
References: <20160317173956.5173.23917@wrigleys.postgresql.org>
* 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