Re: createdb -- alternate locations

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: createdb -- alternate locations
Дата
Msg-id Pine.GSO.4.02A.10005261358570.12244-100000@Falk.DoCS.UU.SE
обсуждение исходный текст
Ответ на createdb -- alternate locations  ("J.R." <jrbelding@yahoo.com>)
Список pgsql-general
On Thu, 25 May 2000, J.R. wrote:

> mkdir /home/postgres/testdata
> export PGDATA2=/home/postgres/testdata
> initlocation PGDATA2
> createdb testdb -D 'PGDATA2'

You need to set the PGDATA2 environment variable in the environment of the
postmaster. That is, shut it down, export xxx, restart. Not ideal, I know,
but we're working on it.

>
> the last command failed with this error:
> "The database path 'PGDATA2' in invalid.  This may be due to a character
> that is not allowed or because the chosen path isn't permitted for
> databases"


--
Peter Eisentraut                  Sernanders väg 10:115
peter_e@gmx.net                   75262 Uppsala
http://yi.org/peter-e/            Sweden


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

Предыдущее
От: Michael Blakeley
Дата:
Сообщение: group by week (ww), plus -S performance
Следующее
От: Shaw Terwilliger
Дата:
Сообщение: Re: What distribution?