Re: PostgreSQL for NT

Поиск
Список
Период
Сортировка
От Jason Tishler
Тема Re: PostgreSQL for NT
Дата
Msg-id 20001118150421.B175@dothill.com
обсуждение исходный текст
Ответ на PostgreSQL for NT  ("W. van den Akker" <wvdakker@wilsoft.nl>)
Список pgsql-ports
Willem,

On Sat, Nov 18, 2000 at 11:31:12AM +0100, W. van den Akker wrote:
>    Do I have to run Postgres from the Bash-shell?

Since in the standard distribution postmaster is a symlink to postgres,
I guess that the answer is "yes."  There are other games that you could
play, but...

>    I like to run postgres as a service within NT.

Since you want to run PostgreSQL as a NT service, the simplest solution
is to delete the symlink from postmaster to postgres.exe and copy
postgres.exe to postmaster.exe.  After performing these operations,
PostgreSQL will be able to run from cmd, as an NT service (if wrapped
by something like srvany or invoker), and from bash.  The only downside
is a little wasted disk space, but disk space is cheap and getting
cheaper...

I was actually thinking that may be the standard NT distribution should not
contain symlinks for this exact reason.  What do others think?

Thanks,
Jason

--
Jason Tishler
Director, Software Engineering       Phone: +1 (732) 264-8770 x235
Dot Hill Systems Corporation         Fax:   +1 (732) 264-8798
82 Bethany Road, Suite 7             Email: Jason.Tishler@dothill.com
Hazlet, NJ 07730 USA                 WWW:   http://www.dothill.com

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

Предыдущее
От: "W. van den Akker"
Дата:
Сообщение: PostgreSQL for NT
Следующее
От: "W. van den Akker"
Дата:
Сообщение: Re: PostgreSQL for NT