Re: Alternative database locations are broken

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Alternative database locations are broken
Дата
Msg-id Pine.LNX.4.21.0011062025320.776-100000@peter.localdomain
обсуждение исходный текст
Ответ на Re: Alternative database locations are broken  ("Ross J. Reedstrom" <reedstrm@rice.edu>)
Ответы Re: Alternative database locations are broken
Список pgsql-hackers
Okay, so we'll do the symlinks.

CREATE DATABASE xxx WITH LOCATION='/else/where';

will clone ('cp -r') template1 in /else/where/base/<id> and create a
symlink to there from $PGDATA/base/<id>.  The '/else/where' location will
be stored in pg_database.datpath.

How do we control the allowed paths?  Should we continue with the
environment variables?  Perhaps a config option listing the allowed
directories?  A system catalog?

Somehow I also get the feeling that pg_dumpall should be saving these
paths...

-- 
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/



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

Предыдущее
От: "Martin A. Marques"
Дата:
Сообщение: Re: problems with configure
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Alternative database locations are broken