On Fri, Sep 24, 2010 at 4:09 PM, Alvaro Herrera
<alvherre@commandprompt.com> wrote:
> Excerpts from Peter Eisentraut's message of vie sep 24 10:55:58 -0400 201=
0:
>> On fre, 2010-09-24 at 11:38 +0100, Dave Page wrote:
>> > I didn't know that existed - thanks. Unfortunately the first box I
>> > tried it on didn't have it, but that's quite old and not a supported
>> > platform anyway. if it does exist on everything we support, then that
>> > could work.
>>
>> It's tempting, but I would caution against that. =A0The installer might
>> work just fine (or 95% fine) on unsupported platforms, but if you just
>> shut people out you won't know. =A0Of course you might want to print a
>> *warning* based on lsb_release.
>
> I think the logic is if lsb_release exists on all supported platforms,
> then use it to determine whether this is a supported platform or not.
> If it doesn't exist, then you know it's not a supported platform in the
> first place.
Yeah. We wouldn't prevent execution on an unsupported platform - just
warn the user that it hasn't been tested and therefore might not work
so well.
--=20
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise Postgres Company