From: | ohp(at)pyrenet(dot)fr |
---|---|
To: | Andrew Dunstan <andrew(at)dunslane(dot)net> |
Cc: | pgsql-hackers list <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: pg_restore -m failing |
Date: | 2009-03-05 16:15:14 |
Message-ID: | Pine.UW2.4.63.0903051708530.9915@sun.pyrenet |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Tue, 3 Mar 2009, Andrew Dunstan wrote:
> Date: Tue, 03 Mar 2009 11:02:35 -0500
> From: Andrew Dunstan <andrew(at)dunslane(dot)net>
> To: ohp(at)pyrenet(dot)fr
> Cc: pgsql-hackers list <pgsql-hackers(at)postgresql(dot)org>
> Subject: Re: [HACKERS] pg_restore -m failing
>
>
>
> ohp(at)pyrenet(dot)fr wrote:
>> hi all,
>>
>> After Andrew corrected the bug I found on pg_restore (-C -m misbehaving one
>> with the other), I played again yesterday.
>>
>> before the end of restore, I get this :
>>
>> pg_restore: launching item 4202 INDEX idx_typeper_actif
>> pg_restore: [custom archiver] could not close archive file: Argument
>> incorrect
>> pg_restore: *** aborted because of error
>> pg_restore: finished item 4202 INDEX idx_typeper_actif
>> pg_restore: [archiver] worker process failed: exit code 1
>> pg_restore: *** aborted because of error
>>
>> Any idea? this is on unixware
>>
>
> That seems very strange. Is it repeatable.
it is on unixware 100% of the time, not on linux.
> I wonder what theincorrect
> argument was?
my guess would be the file desc.
>Maybe the memory got clobbered somewhere.
>
probably, but I could'nt proove it.
> Actually, while thinking about this it occurred to me that we are probably
> wasting a few cycles reopening the archive where we don't need to - it should
> only be necessary where we are restoring a data member, ISTM. I'll look at
> that further.
>
take your time!
> cheers
>
> andrew
>
regards
--
Olivier PRENANT Tel: +33-5-61-50-97-00 (Work)
15, Chemin des Monges +33-5-61-50-97-01 (Fax)
31190 AUTERIVE +33-6-07-63-80-64 (GSM)
FRANCE Email: ohp(at)pyrenet(dot)fr
------------------------------------------------------------------------------
Make your life a dream, make your dream a reality. (St Exupery)
From | Date | Subject | |
---|---|---|---|
Next Message | David Fetter | 2009-03-05 16:47:35 | Re: Prepping to break every past release... |
Previous Message | Joshua Tolley | 2009-03-05 16:04:42 | Re: Make SIGHUP less painful if pg_hba.conf is not readable |