Re: pg_basebackup for streaming base backups

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pg_basebackup for streaming base backups
Дата
Msg-id 9087.1295198327@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pg_basebackup for streaming base backups  (Magnus Hagander <magnus@hagander.net>)
Ответы Re: pg_basebackup for streaming base backups  (Magnus Hagander <magnus@hagander.net>)
Список pgsql-hackers
Magnus Hagander <magnus@hagander.net> writes:
>> + * The file will be named base.tar[.gz] if it's for the main data directory
>> + * or <tablespaceoid>.tar[.gz] if it's for another tablespace.
>> 
>> Well we have UNIQUE, btree (spcname), so maybe we can use that here?

> We could, but that would make it more likely to run into encoding
> issues and such - do we restrict what can be in a tablespace name?

No.  Don't even think of going there --- we got rid of user-accessible
names in the filesystem years ago and we're not going back.  ConsiderCREATE TABLESPACE "/foo/bar" LOCATION '/foo/bar';
        regards, tom lane


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

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: walreceiver fallback_application_name
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: We need to log aborted autovacuums