Re: Avoiding Tablespace path collision for primary and standby

Поиск
Список
Период
Сортировка
От Thomas Munro
Тема Re: Avoiding Tablespace path collision for primary and standby
Дата
Msg-id CAEepm=08dBFcydNo2NOOEA6X_CuYSze28FZ=-9tBViPaXRvOJg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Avoiding Tablespace path collision for primary and standby  (Ashwin Agrawal <aagrawal@pivotal.io>)
Ответы Re: Avoiding Tablespace path collision for primary and standby  (Michael Paquier <michael@paquier.xyz>)
Re: Avoiding Tablespace path collision for primary and standby  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Sat, May 26, 2018 at 9:17 AM, Ashwin Agrawal <aagrawal@pivotal.io> wrote:
> To generate uniqueness for the path between primary and standby need to use
> something which is not represented within database. So will be random to
> some degree. Like one can use PORT number of postmaster. As only need to
> generate unique path while creating link during CREATE TABLESPACE.

I also wondered about this when trying to figure out how to write a
TAP test for recovery testing with tablespaces, for my undo proposal.
I was starting to wonder about either allowing relative paths or
supporting some kind of variable in the tablespace path that could
then be set differently in each cluster's .conf.

-- 
Thomas Munro
http://www.enterprisedb.com


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

Предыдущее
От: Chapman Flack
Дата:
Сообщение: Re: SPI/backend equivalent of extended-query Describe(statement)?
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: Avoiding Tablespace path collision for primary and standby