Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 38C9F13364DE for ; Thu, 7 Apr 2011 12:44:48 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 76369-07 for ; Thu, 7 Apr 2011 15:44:28 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id 7B760133616B for ; Thu, 7 Apr 2011 12:44:28 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id p37FiPrr014344; Thu, 7 Apr 2011 11:44:25 -0400 (EDT) To: Per-Olov Esgard cc: pgsql-bugs@postgreSQL.org Subject: Re: BUG #5959: pg_restore --use-list does not always work with a pg_restore generated TOC file In-reply-to: <2552.1302013742@sss.pgh.pa.us> References: <201103301039.p2UAd8DS034876@wwwmaster.postgresql.org> <1843.1301784081@sss.pgh.pa.us> <2552.1302013742@sss.pgh.pa.us> Comments: In-reply-to Tom Lane message dated "Tue, 05 Apr 2011 10:29:02 -0400" Date: Thu, 07 Apr 2011 11:44:25 -0400 Message-ID: <14343.1302191065@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-5 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201104/33 X-Sequence-Number: 29952 I wrote: > Per-Olov Esgard writes: >> The third extracted buffer is not ok but interpreted as ok with id 10: >> 10."boolean", mydbcomndata_10."boolean", mydbcomndata_10."boolean", >> mydbcomndata_10."boolean", mydbcomndata_10."boolean", character varying, >> mydbcomndata_10."integer", mydbcomndata_10.componentname, >> mydbcomndata_10."integer", mydbcomndata_10."integer", >> mydbcomndata_10."integer", mydbcomndata_10.angle, >> mydbcomndata_10."boolean", mydbcomndata_10."boolean", >> mydbcomndata_10."boolean", mydbcomndata_10."boolean", >> mydbcomndata_10."boolean", mydbcomndata_10."boolean", >> mydbcomndata_10."boolean") postgres >> So as you can see, the last part of my schema name consists of a number >> that is interpreted as an id. > Ah, I see. So what we probably need to do for a real fix is to teach > that code to distinguish continuation lines from normal ones. Fix committed --- thanks for the report! regards, tom lane