From: | "Yelai, Ramkumar" <ramkumar(dot)yelai(at)siemens(dot)com> |
---|---|
To: | Michael Paquier <michael(dot)paquier(at)gmail(dot)com>, Jeff Janes <jeff(dot)janes(at)gmail(dot)com> |
Cc: | "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: pgbasebackup is failing after truncate |
Date: | 2016-08-17 06:08:41 |
Message-ID: | FFF1B7B19FDD154B8933AFF9E40855B20FE4198202@INBLRK77M2MSX.in002.siemens.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
HI,
Thanks for helpful information.
Even if there is no way to fix then please let me know how long that file ( pending for deletion ) will be present in that directory.
I observe like 1 or 2 hr after it will be deleted. But I am wondering, who is deleting that file.
Regards,
Ramkumar
-----Original Message-----
From: Michael Paquier [mailto:michael(dot)paquier(at)gmail(dot)com]
Sent: Tuesday, August 16, 2016 5:51 AM
To: Jeff Janes
Cc: Yelai, Ramkumar (CT DD DS AA DF-PD FH ES); pgsql-general(at)postgresql(dot)org
Subject: Re: [GENERAL] pgbasebackup is failing after truncate
On Sat, Aug 13, 2016 at 12:41 AM, Jeff Janes <jeff(dot)janes(at)gmail(dot)com> wrote:
> On Wed, Aug 10, 2016 at 11:06 PM, Yelai, Ramkumar
> <ramkumar(dot)yelai(at)siemens(dot)com> wrote:
>> At present, I have some requirement to truncate the data base to
>> reclaim disk space and at the same time I need to take basebackup.
>>
>> Seems, truncate is successfully reclaimed the space but pgbasebackup
>> failed and reported the below error.
>>
>> “could not stat file or directory ./base/16384/25600: Permission denied.
>
> Are you on MS Windows? If so, sounds like a possible variant of BUG
> #14243
That's really the same issue... See here for more details:
https://www.postgresql.org/message-id/20160712083220.1426.58667@wrigleys.postgresql.org
If you have ideas about making a difference between a real permission error and STATUS_PENDING_DELETE, that would be great.
--
Michael
From | Date | Subject | |
---|---|---|---|
Next Message | gilad905 | 2016-08-17 08:58:05 | Re: Easiest way to compare the results of two queries row by row and column by column |
Previous Message | Yelai, Ramkumar | 2016-08-17 06:05:03 | Re: pgbasebackup is failing after truncate |