Re: RC1 question of reloading data

Поиск
Список
Период
Сортировка
От jerry
Тема Re: RC1 question of reloading data
Дата
Msg-id mxUub.65367$M02.46505@twister.rdc-kc.rr.com
обсуждение исходный текст
Ответ на Re: RC1 question of reloading data  (Tomas Szepe <szepe@pinerecords.com>)
Список pgsql-bugs
Theodore Petrosky wrote:

> So, I was logged on as postgres. but there is no
> database called 'postgres' (or maybe I don't
> understand the internals). Keep in mind that I am only
> looking for understanding of the process... and I want
> to make sure that doing this doesn't create problems
> later.
>
> Ted
Postgres is not a 'database', it is the account name which owns the commands
and the directories with which and into which the database structure is
created using "initdb".  If you followed the short installation version you
would have done something like this:

jerry$ su
root@jerry# mkdir /usr/local/pgsql/data
root@jerry# chown postgres /usr/local/pgsql/data
root@jerry# su - postgres
-bash-2.05b$ initdb -D /usr/local/pgsql/data

Then you could log in using psql and create your user name and db template,
etc.

--
GreyGeek

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

Предыдущее
От: GreyGeek
Дата:
Сообщение: Re: IpcSemaphoreCreate: semget(...) failed: No space left on device
Следующее
От: "Alex Albarracin"
Дата:
Сообщение: memory bug