Re: A patch to pg_regress for Windows port

Поиск
Список
Период
Сортировка
От Gurjeet Singh
Тема Re: A patch to pg_regress for Windows port
Дата
Msg-id 65937bea0701051128m64e1b223ieb6f04c093e9071b@mail.gmail.com
обсуждение исходный текст
Ответ на A patch to pg_regress for Windows port  ("Gurjeet Singh" <singh.gurjeet@gmail.com>)
Ответы Re: A patch to pg_regress for Windows port  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
This patch removes double-quotes from around the listen_addresses=%s part; I couldn't find a way of doing that. But then, the questions is, can the %s (hostname) have spaces embedded in it?

--
gurjeet[.singh]@ EnterpriseDB.com
singh.gurjeet@{ gmail | hotmail | yahoo }.com

On 1/6/07, Gurjeet Singh <singh.gurjeet@gmail.com> wrote:
On Windows, if logged in as an Administrator, 'make check' fails with our standard error, saying:

<quote>
Execution of PostgreSQL by a user with administrative permissions is not
permitted.
The server must be started under an unprivileged user ID to prevent
possible system security compromises.  See the documentation for
more information on how to properly start the server.
</quote>

But, for some time now, a Windows' Administrator *can* run a postgres without having to create a normal user; he just has to use pg_ctl to do so. Thanks to code written by Magnus, pg_ctl gives up it's administrative privilges before starting the postmaster, and hence the postmaster runs without critical privileges.

So I thought that 'make check' could also make use of that functionality, and hence this patch.

Is this new pg_ctl behavior mentioned anywhere in the docs?

Best regards,

--
gurjeet[.singh]@EnterpriseDB.com
singh.gurjeet@{ gmail | hotmail | yahoo }.com

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

Предыдущее
От: "Simon Riggs"
Дата:
Сообщение: COPY with no WAL, in certain circumstances
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: A patch to pg_regress for Windows port