Skip site navigation (1) Skip section navigation (2)

Re: Re: [GENERAL] programmatic way to fetch latest release for a given major.minor version

From: Dave Page <dpage(at)postgresql(dot)org>
To: Dave Page <dpage(at)postgresql(dot)org>, Magnus Hagander <magnus(at)hagander(dot)net>, Andrew Hammond <andrew(dot)george(dot)hammond(at)gmail(dot)com>, CAJ CAJ <pguser(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org, pgsql-www <pgsql-www(at)postgresql(dot)org>
Subject: Re: Re: [GENERAL] programmatic way to fetch latest release for a given major.minor version
Date: 2007-04-10 14:12:31
Message-ID: 461B9B4F.4070208@postgresql.org (view raw or flat)
Thread:
Lists: pgsql-generalpgsql-www
Alvaro Herrera wrote:
> Dave Page escribió:
>> Magnus Hagander wrote:
>>> That is actually precisely my point. It makes *no sense* to filter based on
>>> 8.x. 8.0 is no more a major release than 7.4. 
>> Yes it is - that's precisely why it was 8.0 and not 7.5.
> 
> That was merely a marketing artifact; it was called 7.5 until the very
> end of the devel cycle.
> 

Yes, but marketing is one reason why someone might want to group 8.x,
7.x etc on a website which is exactly the sort of thing this code is for.

As others have said, yes, you could do it but looking at a substring of
the version, and yes, you could do it with mathematical comparisons on
major.minor (with limitations - what happens if we get to 8.10 ?), but
would we suggest people use those techniques for searching their
databases for matching records, or would we suggest storing the
interesting elements in different columns for ease of use, flexibility
and efficiency? How does this differ (aside from the obvious)?

Regards, Dave

In response to

Responses

pgsql-www by date

Next:From: Alvaro HerreraDate: 2007-04-10 14:25:35
Subject: Re: Re: [GENERAL] programmatic way to fetch latest release for a given major.minor version
Previous:From: Alvaro HerreraDate: 2007-04-10 13:57:08
Subject: Re: Re: [GENERAL] programmatic way to fetch latest release for a given major.minor version

pgsql-general by date

Next:From: Alvaro HerreraDate: 2007-04-10 14:25:35
Subject: Re: Re: [GENERAL] programmatic way to fetch latest release for a given major.minor version
Previous:From: Alvaro HerreraDate: 2007-04-10 13:57:08
Subject: Re: Re: [GENERAL] programmatic way to fetch latest release for a given major.minor version

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group