On Fri, Sep 24, 2010 at 11:30 AM, Dimitri Fontaine
<dfontaine@hi-media.com> wrote:
> Dave Page <dpage@pgadmin.org> writes:
>> On Fri, Sep 24, 2010 at 6:28 AM, Peter Eisentraut <peter_e@gmx.net> wrot=
e:
>>> On tor, 2010-09-23 at 23:56 +0100, Dave Page wrote:
>>>> > Surely the error message can be polished, though?
>>
>> How else would you suggest we find out what may go wrong on an
>> unsupported platform?
>
> My guess here is that you could use `lsb_release -a` or some other
> system dependant facilities to know the current platform, then error out
> with a nice error message if it's not one you know you support.
>
> This way the installer won't even try to run and won't go wrong on an
> unsupported platform=85
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.
--=20
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise Postgres Company