Re: windows / initdb oddness

From: "Magnus Hagander" <mha(at)sollentuna(dot)net>
To: "Andrew Dunstan" <andrew(at)dunslane(dot)net>, "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "PostgreSQL-development" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: windows / initdb oddness
Date: 2006-02-22 17:22:58
Message-ID: 6BCB9D8A16AC4241919521715F4D8BCE6C8069@algol.sollentuna.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> >Is there any reason to worry about an accidental environment
> conflict?
> >If someone mistakenly did "export PG_RESTRICT_EXEC=1", it
> looks to me
> >like this would cause the re-exec bit to be skipped, but I
> suppose the
> >worst possible consequence is that the postmaster would
> refuse to start.
> >Is there anything I don't see? (Of course, the magic
> argument method
> >can be broken manually in just the same way...)
> >
> >
> >
> >
>
> Yes. The effect would be that we just do exactly what we do
> today anyway. We could make the value some more obscure
> token, but I don't see much point.

No, if the user wants to break it, go ahead. They're just going to break
things for themselves (since the execuited postgres.exe still retains
the admin check and will bail out). I see no reason to make it obscure.

//Magnus

Browse pgsql-hackers by date

  From Date Subject
Next Message Jim C. Nasby 2006-02-22 17:32:05 Divid by zero bug in float
Previous Message Magnus Hagander 2006-02-22 17:21:22 Re: windows / initdb oddness