From: Tom Lane <tgl@sss.pgh.pa.us>
To: Per-Olov Esgard <Per-Olov.Esgard@micronic-mydata.com>
Cc: pgsql-bugs@postgreSQL.org
Subject: Re: BUG #5959: pg_restore --use-list does not always work with a pg_restore generated TOC file
Date: Thu, 07 Apr 2011 11:44:25 -0400
Message-ID: <14343.1302191065@sss.pgh.pa.us> (raw)
In-Reply-To: <2552.1302013742@sss.pgh.pa.us>
References: <201103301039.p2UAd8DS034876@wwwmaster.postgresql.org>
<1843.1301784081@sss.pgh.pa.us>
<OFE56ADF1F.43BBEFB9-ONC1257869.002ECDD5-C1257869.00316075@micronic-mydata.com>
<2552.1302013742@sss.pgh.pa.us>
I wrote:
> Per-Olov Esgard <Per-Olov.Esgard@micronic-mydata.com> 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
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, Per-Olov.Esgard@micronic-mydata.com
Subject: Re: BUG #5959: pg_restore --use-list does not always work with a pg_restore generated TOC file
In-Reply-To: <14343.1302191065@sss.pgh.pa.us>
References: <201103301039.p2UAd8DS034876@wwwmaster.postgresql.org> <1843.1301784081@sss.pgh.pa.us> <OFE56ADF1F.43BBEFB9-ONC1257869.002ECDD5-C1257869.00316075@micronic-mydata.com> <2552.1302013742@sss.pgh.pa.us> <14343.1302191065@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