Re: [DOCS] Moving tablespaces

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: [DOCS] Moving tablespaces
Дата
Msg-id 4EDBA60D.2050904@dunslane.net
обсуждение исходный текст
Ответ на Re: [DOCS] Moving tablespaces  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: [DOCS] Moving tablespaces  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers

On 12/04/2011 11:41 AM, Tom Lane wrote:
>
>> 1) Remove the column. Rely on the symlink. Create a
>> pg_get_tablespace_location(oid) function, that could be used by
>> pg_dumpall and friends, that just reads the symlink.
> Hm, how portable is symlink-reading?  If we can actually do that
> without big headaches, then +1.
>


I wondered that, specifically about Windows junction points, but we seem
to have support for it already in dirmod.c::pgreadlink(). Surely there's
no other currently supported platform where it would even be a question?

cheers

andrew

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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: psql setenv command
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [DOCS] Moving tablespaces