pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
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: Wed, 27 Jul 2011 10:35:19 -0400
Message-ID: <7994.1311777319@sss.pgh.pa.us> (raw)
In-Reply-To: <201107270402.02561.julian@mehnle.net>
References: <201107270042.22427.julian@mehnle.net>
	<23791.1311737234@sss.pgh.pa.us>
	<201107270402.02561.julian@mehnle.net>

Julian Mehnle <julian@mehnle.net> writes:
> I'm subscribed to the pgsql-bugs list, so no need to CC me. :-)

cc to people in the thread is the established practice on these lists.
It provides a bit more robustness when the lists are busy or slow.
You can set your subscription so the listserv won't send you an extra
copy, I believe, but I don't know the incantation offhand.

> Tom Lane wrote:
>> Not sure about a simple fix, 
>> and I rather wonder if we shouldn't try to remove that code entirely
>> instead of "fix" it.

> 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.

			regards, tom lane



view thread (8+ messages)  latest in thread

Message-ID: <7994.1311777319@sss.pgh.pa.us>
Permalink:  ../7994.1311777319@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/7994.1311777319@sss.pgh.pa.us

 · 

reply

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: <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>

* 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