Creating a db on my newly installed postresql on OS X

Поиск
Список
Период
Сортировка
От Søren Krogh Neigaard
Тема Creating a db on my newly installed postresql on OS X
Дата
Msg-id 4C2F5EAB-3A02-4B2E-AB6B-C810A45A9233@neigaard.com
обсуждение исходный текст
Ответы Re: Creating a db on my newly installed postresql on OS X  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-novice
Hi

Im totally new to postgresql. I installed 8.4.3 via MacPorts, and it told me to run this command to have postgresql
startat boot: 

sudo launchctl load -w /Library/LaunchDaemons/org.macports.postgresql84-server.plist

I can see with a ps command that there are something runing. So what next? I can read that I must use initdb to create
adatabase, and give it a path to a file/directory where the data will be stored, but will the running postgresql server
thenknow where this database/data is? 

What are the next steps to get me up and running?

Med venlig hilsen/Best regards
Søren Neigaard <soeren@neigaard.com>

If I'd known computer science was going to be like this, I'd never have given up being a rock 'n' roll star.


Вложения

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

Предыдущее
От: peter@vfemail.net
Дата:
Сообщение: Re: Upgrading from PostgreSQL 7.4.3
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Creating a db on my newly installed postresql on OS X