Re: option -T in pg_basebackup doesn't work on windows - Mailing list pgsql-hackers

From Amit Kapila
Subject Re: option -T in pg_basebackup doesn't work on windows
Date
Msg-id CAA4eK1++39DCQ3mJsNn0oUQdBQhnMKiqvbQy3-yb4_d=bcXL=A@mail.gmail.com
Whole thread Raw
In response to Re: option -T in pg_basebackup doesn't work on windows  (Heikki Linnakangas <hlinnakangas@vmware.com>)
Responses Re: option -T in pg_basebackup doesn't work on windows
List pgsql-hackers
On Mon, Aug 18, 2014 at 7:50 PM, Heikki Linnakangas <hlinnakangas@vmware.com> wrote:
>
> I didn't follow the original discussions, but now that I look at this I have to wonder:
>
> Why does pg_basebackup -T create the symlink pointing to the wrong location in the first place, only to fix it later?

Good question.

>Wouldn't it make a lot more sense to create it correctly in the first place?

Looking at the code, I think it is very well possible to create
it correctly in the first place without much extra work.  I will
send a patch if nobody sees any problem with this change.  

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

pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Improvement of versioning on Windows, take two
Next
From: Michael Paquier
Date:
Subject: Re: pg_receivexlog and replication slots