Re: pg_basebackup vs. Windows and tablespaces

Поиск
Список
Период
Сортировка
От Amit Kapila
Тема Re: pg_basebackup vs. Windows and tablespaces
Дата
Msg-id CAA4eK1Ju1jikWADBoZQx7gcPp07N0AZhVOqXb5Ebmp63Sua9Tg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: pg_basebackup vs. Windows and tablespaces  (Dilip kumar <dilip.kumar@huawei.com>)
Ответы Re: pg_basebackup vs. Windows and tablespaces
Список 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
Вложения

В списке pgsql-hackers по дате отправления: