Re: pg_basebackup vs. Windows and tablespaces - Mailing list pgsql-hackers

From Amit Kapila
Subject Re: pg_basebackup vs. Windows and tablespaces
Date
Msg-id CAA4eK1Ju1jikWADBoZQx7gcPp07N0AZhVOqXb5Ebmp63Sua9Tg@mail.gmail.com
Whole thread Raw
In response to Re: pg_basebackup vs. Windows and tablespaces  (Dilip kumar <dilip.kumar@huawei.com>)
Responses Re: pg_basebackup vs. Windows and tablespaces
List pgsql-hackers
On Wed, Aug 20, 2014 at 12:12 PM, Dilip kumar <dilip.kumar@huawei.com> wrote:
>
> I have reviewed the patch and did not find any major comments.

Thanks for the review.

> There are some comments I would like to share with you
>
>  
>
> 1.      Rebase the patch to current GIT head.

Done.

>
> 2.      +                      * Construct symlink file
>
> +                      */
>
> +                      initStringInfo(&symlinkfbuf);
>
>             I think declaration and initialization of symlinkfbuf string can be moved under #ifdef WIN32 compile time macro,
>
> for other platform it’s simply allocated and freed which can be avoided.

Agreed, I have changed the patch as per your suggestion.
  
>
> 3.      +                                  /*
>
> +                                  * native windows utilites are not able create symlinks while
>
> +                                  * extracting files from tar.
>
> +                                  */
>
>  
>
>             Rephrase the above sentence and fix spelling mistake  (utilities are not able to create)

Done.



With Regards,
Amit Kapila.
EnterpriseDB: http://www.enterprisedb.com
Attachment

pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: [patch] pg_copy - a command for reliable WAL archiving
Next
From: Tom Lane
Date:
Subject: Re: [patch] pg_copy - a command for reliable WAL archiving