| От | Aarni Ruuhimäki |
|---|---|
| Тема | Re: Moving an existing database from an old version? |
| Дата | |
| Msg-id | 200701131604.56527.aarni@kymi.com обсуждение исходный текст |
| Ответ на | Re: Moving an existing database from an old version? (Howard Eglowstein <howard@yankeescientific.com>) |
| Список | pgsql-novice |
On Saturday 13 January 2007 14:11, Howard Eglowstein wrote: > I've looked in /usr/local and /usr/share for places it might be and > there doesn't seem to be any. Yet, pg_dump clearly knows how to find it. > > Last question for now (before I fire up the machine and try again): How > does postgresql know where the data lives? Not sure about Debian but on an Ubuntu machine locate (pgsql, .bki, pg_hba.conf, postmaster) gives /var/lib/postgresql/8.0/main/base/ /usr/lib/postgresql/8.0/lib/ /etc/postgresql/8.0/main/pg_hba.conf /usr/share/postgresql/8.0/postgres.bki /usr/lib/postgresql/8.0/bin/postmaster You tell Postgres where the data dir is with initdb command. -D is the path to the datadir. -- Have fun, Aarni
В списке pgsql-novice по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера