Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 96010B5DC10 for ; Wed, 27 Jul 2011 14:28:34 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 47568-04 for ; Wed, 27 Jul 2011 17:28:28 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from io.link-m.de (io.link-m.de [82.135.8.34]) by mail.postgresql.org (Postfix) with ESMTP id 487DDB5D91F for ; Wed, 27 Jul 2011 14:28:28 -0300 (ADT) Received: from [10.0.2.15] (50-0-128-85.dsl.dynamic.sonic.net [::ffff:50.0.128.85]) (AUTH: CRAM-MD5 julian@mehnle.net, TLS: TLSv1/SSLv3, 256bits, AES256-SHA) by io.link-m.de with esmtp; Wed, 27 Jul 2011 17:28:26 +0000 id 0000000020485D1F.000000004E304ABA.000079BC From: Julian Mehnle To: pgsql-bugs@postgresql.org Subject: Re: pg_restore silently chokes on object comments/descriptions ending in a backslash Date: Wed, 27 Jul 2011 17:28:21 +0000 User-Agent: KMail/1.9.9 Cc: Tom Lane References: <201107270042.22427.julian@mehnle.net> <201107270402.02561.julian@mehnle.net> <7994.1311777319@sss.pgh.pa.us> In-Reply-To: <7994.1311777319@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart65602525.a3TUGYIc2a"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201107271728.25202.julian@mehnle.net> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-5 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201107/189 X-Sequence-Number: 30801 --nextPart65602525.a3TUGYIc2a Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Tom Lane wrote: > Julian Mehnle 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. Got it. I'll try to remember that and CC others when posting, and will=20 also not take offense when receiving extra CCs. > > 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 see. Given that I'm only a Pg user, not a Pg developer, I have no=20 opinion on this. Thanks for the explanation, though! =2DJulian --nextPart65602525.a3TUGYIc2a Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEABECAAYFAk4wSrUACgkQwL7PKlBZWjvczQCgibhmhac5VbGw7GucbIra2TBa qD4AoICXpyOnpURV+BqU3i+dyULlYr/o =KeJg -----END PGP SIGNATURE----- --nextPart65602525.a3TUGYIc2a--