Re: [PATCHES] A patch to pg_regress for Windows port

2007-01-05 Thread Tom Lane
"Gurjeet Singh" <[EMAIL PROTECTED]> writes: > On 1/6/07, Tom Lane <[EMAIL PROTECTED]> wrote: >> Yes, because it can be more than one hostname. > But the code in postmaster.c expects the list to be comma separated. Sure, but SplitIdentifierString allows for whitespace, eg 'host1, host2, h

Re: [PATCHES] A patch to pg_regress for Windows port

2007-01-05 Thread Gurjeet Singh
On 1/6/07, Tom Lane <[EMAIL PROTECTED]> wrote: "Gurjeet Singh" <[EMAIL PROTECTED]> writes: > 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? Yes, bec

Re: [PATCHES] A patch to pg_regress for Windows port

2007-01-05 Thread Tom Lane
"Gurjeet Singh" <[EMAIL PROTECTED]> writes: > 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? Yes, because it can be more than one hostname. Why do you

Re: [PATCHES] A patch to pg_regress for Windows port

2007-01-05 Thread Gurjeet Singh
cool... On 1/6/07, Magnus Hagander <[EMAIL PROTECTED]> wrote: Gurjeet Singh wrote: > On Windows, if logged in as an Administrator, 'make check' fails with > our standard error, saying: > > > Execution of PostgreSQL by a user with administrative permissions is not > permitted. > The server must

Re: [PATCHES] A patch to pg_regress for Windows port

2007-01-05 Thread Magnus Hagander
Gurjeet Singh wrote: > On Windows, if logged in as an Administrator, 'make check' fails with > our standard error, saying: > > > 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 s

Re: [PATCHES] A patch to pg_regress for Windows port

2007-01-05 Thread Gurjeet Singh
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? -- [EMAIL PROTECTED] [EMAIL PROTECTED] gmail | hotmail | yahoo }.com On 1/6/07, Gurjeet Singh <[EMAIL PROT

[PATCHES] A patch to pg_regress for Windows port

2007-01-05 Thread Gurjeet Singh
On Windows, if logged in as an Administrator, 'make check' fails with our standard error, saying: 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