Re: pg_basebackup vs. Windows and tablespaces

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: pg_basebackup vs. Windows and tablespaces
Дата
Msg-id 54652394.3010206@gmx.net
обсуждение исходный текст
Ответ на Re: pg_basebackup vs. Windows and tablespaces  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Ответы Re: pg_basebackup vs. Windows and tablespaces  (Robert Haas <robertmhaas@gmail.com>)
Re: pg_basebackup vs. Windows and tablespaces  (Amit Kapila <amit.kapila16@gmail.com>)
Re: pg_basebackup vs. Windows and tablespaces  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
On 11/13/14 11:52 AM, Alvaro Herrera wrote:
> Amit Kapila wrote:
> 
>> This patch is in "Ready for committer" stage for more than 1.5 months.
>> I believe this is an important functionality such that without this tar
>> format of pg_basebackup is not usable on Windows.  I feel this
>> will add a value to pg_basebackup utility and moreover the need
>> and design has been agreed upon the list before development.
>>
>> Can any Committer please have a look at this patch?
> 
> Is this still relevant after this commit?
> 
> commit fb05f3ce83d225dd0f39f8860ce04082753e9e98
> Author: Peter Eisentraut <peter_e@gmx.net>
> Date:   Sat Feb 22 13:38:06 2014 -0500
> 
>     pg_basebackup: Add support for relocating tablespaces

I believe so.

The commit only applies to "plain" output.  Amit's complaint is that tar
utilities on Windows don't unpack symlinks, so the "tar" format isn't
useful on Windows when tablespaces are used.  So he wants the recovery
mechanism to restore the symlinks.

I'm not fully on board with that premise.  (Get a better tar tool.
Submit a patch.)

But this also ties in with the recent discovery that the tar format
cannot handle symlinks longer than 99 bytes.  So this patch could also
fix that problem by putting the untruncated name of the symlink in the
WAL data.




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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Size of regression database
Следующее
От: Robert Haas
Дата:
Сообщение: Re: pg_basebackup vs. Windows and tablespaces