Re: Avoiding Tablespace path collision for primary and standby

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Avoiding Tablespace path collision for primary and standby
Дата
Msg-id 28797.1529526642@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Avoiding Tablespace path collision for primary and standby  (Ashwin Agrawal <aagrawal@pivotal.io>)
Ответы Re: Avoiding Tablespace path collision for primary and standby  (Craig Ringer <craig.ringer@2ndquadrant.com>)
Список pgsql-hackers
Ashwin Agrawal <aagrawal@pivotal.io> writes:
> Okay just bouncing another approach, how about generating UUID for a
> postgres instance during initdb and pg_basebackup ?

There's no uuid generation code in core postgres, for excellent reasons
(lack of portability and lack of failure modes are the main objections).
This is not different in any meaningful way from the proposal to use
timestamps, except for being more complicated.

            regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: ERROR: ORDER/GROUP BY expression not found in targetlist
Следующее
От: Robbie Harwood
Дата:
Сообщение: Re: libpq compression