Re: Installing postgresql on Windows question

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: Installing postgresql on Windows question
Дата
Msg-id 6BCB9D8A16AC4241919521715F4D8BCE1715CD@algol.sollentuna.se
обсуждение исходный текст
Ответ на Installing postgresql on Windows question  ("Wei Wang" <ww220@cam.ac.uk>)
Список pgsql-hackers-win32
>Now I did "configure --without-zlib --enable-debug
>--enable-cassert" and
>then "make".
>psql  will run under CMD.EXE.  psql does not work using the
>Msys console
>application because of buffering problems.
>
>Now I'm confused it didn't say anything about "make install".
>Does that mean
>it is not needed in Windows installation?
>But I cannot find where the database is. Can anyone give me
>some direction?

Those parts are the same as for unix. Meaning you just run "make
install" and it will end up in "/usr/local/pgsql" (in the mingw
environment). Depending on exactly how your environment is, you will
probably have to tweak around the PATH variable so the postmaster can
find it's backend executable.

You will then have to run initdb just as on Unix. See the win32 status
page for either a patch or a workaround around the problem of
initdb:ing. You can pick whatever data directory you chose. Also, the
readdir() workaround/patch is required to get anything working at all.

Finally, start the postmaster manually from the directory where it was
installed.

Note that if you haven't applied the signals handling patches to your
tree, the system will not shut down correctly. So after each shut down,
you will have to manually kill any remaining backends from the task
manager.


Expect a non-trivial amount of manual things that are not documented
still, since this port is still very much under early development.


//Magnus

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

Предыдущее
От: "Wei Wang"
Дата:
Сообщение: Installing postgresql on Windows question
Следующее
От: "Wei Wang"
Дата:
Сообщение: Re: Installing postgresql on Windows question