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
Список
Дерево обсуждения
Creating a db on my newly installed postresql on OS X Søren Krogh Neigaard <soeren@neigaard.com>
Re: Creating a db on my newly installed postresql on OS X Tom Lane <tgl@sss.pgh.pa.us>
Re: Creating a db on my newly installed postresql on OS X Søren Krogh Neigaard <soeren@neigaard.com>
Re: Creating a db on my newly installed postresql on OS X Tom Lane <tgl@sss.pgh.pa.us>
Re: Creating a db on my newly installed postresql on OS X Michael Wood <esiotrot@gmail.com>
Hi

Im totally new to postgresql. I installed 8.4.3 via MacPorts, and it told me to run this command to have postgresql start at 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 a database, and give it a path to a file/directory where the data will be stored, but will the running postgresql server then know where this database/data is?

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

Med venlig hilsen/Best regards
Søren Neigaard 

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
Дата:
От: Tom Lane
Дата:
FAQ