[Info-Ingres] Version text ...
Paul Mason
latepaul at gmail.com
Fri Nov 9 09:37:39 CST 2007
On 09/11/2007, Michael Leo <mleo at kettleriverconsulting.com> wrote:
>
> Gang,
>
> I'm trying to write some code that behaves differently
> for different versions of Ingres.
>
> Lately, that is harder and harder.
>
> I'm connecting via Ingres/NET, so I can't look at any
> of these files:
>
> ${II_SYSTEM}/ingres/version.rel
> "%II_SYSTEM%\ingres\version.rel"
> II_SYSTEM:[INGRES]version.rel
>
> So instead, I use
>
> select dbmsinfo('_version')
>
> to get strings like
>
> II 9.1.0 (int.w32/123)
> II 9.2.0 (int.lnx/102)NPTL
>
> Now, I really understand everything up until
> Ingres II 2.6, but I've somehow lost track of
> what is going on lately.
>
> Short of installing each version and checking, where
> can I find out what version of Ingres produces what
> version string? And can someone explain to me how the
> commercial releases can be distinguished from the
> open source ones?
>
> Thanks,
>
> Mike Leo
>
9.0.4 = Ingres 2006 Release 1
9.1.0 = Ingres 2006 R2
9.2.0 = Ingres 2006 R3 (currently still beta)
The number after the / is the build number. Two version strings which are
otherwise the same, the one with the higher build number will be more
recent. If you build yourself you can put anything in as the build number.
The commercial releases and open source ones can't be distinguished from the
version string, because it all comes from the same code base, it's only the
license under which it's distributed that differs. If you're on linux you
can check rpm for the license (rpm -qa | grep license | grep ingres),
otherwise you could check the LICENSE file under $II_SYSTEM/ingres/install -
though some people delete that directory .
HTH
--
Paul Mason
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.kettleriverconsulting.com/mailman/private/info-ingres/attachments/20071109/9b659d80/attachment-0001.html
More information about the Info-Ingres
mailing list