From: Tom Lane <tgl@sss.pgh.pa.us>
To: Julian Mehnle <julian@mehnle.net>
Cc: pgsql-bugs@postgresql.org
Subject: Re: pg_restore silently chokes on object comments/descriptions ending in a backslash
Date: Thu, 28 Jul 2011 14:10:23 -0400
Message-ID: <1908.1311876623@sss.pgh.pa.us> (raw)
In-Reply-To: <7994.1311777319@sss.pgh.pa.us>
References: <201107270042.22427.julian@mehnle.net>
<23791.1311737234@sss.pgh.pa.us>
<201107270402.02561.julian@mehnle.net>
<7994.1311777319@sss.pgh.pa.us>
I wrote:
> Julian Mehnle <julian@mehnle.net> writes:
>> What would "removing that code entirely" mean?
> I was wondering why it's necessary to parse the entry in the dump file
> at all, rather than just spit it out to PQexec as-is. There's probably
> a reason, but maybe we can find another way to solve whatever the
> real problem is.
I've applied a patch along those lines. Thanks for the report!
regards, tom lane
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, julian@mehnle.net
Subject: Re: pg_restore silently chokes on object comments/descriptions ending in a backslash
In-Reply-To: <1908.1311876623@sss.pgh.pa.us>
References: <201107270042.22427.julian@mehnle.net> <23791.1311737234@sss.pgh.pa.us> <201107270402.02561.julian@mehnle.net> <7994.1311777319@sss.pgh.pa.us> <1908.1311876623@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