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

From: "CAJ CAJ" <pguser(at)gmail(dot)com>
To: "Andrew Hammond" <andrew(dot)george(dot)hammond(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: programmatic way to fetch latest release for a given major.minor version
Date: 2007-04-09 22:26:12
Message-ID: 467669b30704091526v79ae044boe7217cc0777dce1f@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-www

On 9 Apr 2007 14:47:20 -0700, Andrew Hammond <
andrew(dot)george(dot)hammond(at)gmail(dot)com> wrote:
>
> I'm writing a script that wants to know the latest release for a given
> major.minor version. Is there some better way than parsing
> http://www.postgresql.org/ftp/source/ or trying to connect to ftp
> (which is invariably timing out on me today. Is that box getting
> hammered or something?) and doing the parsing that? Both approaches
> feel quite awkward to me.

Use wget to download via HTTP (added recently). Probably wise to add a
couple mirrors in your script.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Andrew Hammond 2007-04-09 22:34:02 Re: programmatic way to fetch latest release for a given major.minor version
Previous Message Brent Wood 2007-04-09 22:23:57 Re: NEWBIE: How do I get the oldest date contained in 3 tables

Browse pgsql-www by date

  From Date Subject
Next Message Andrew Hammond 2007-04-09 22:34:02 Re: programmatic way to fetch latest release for a given major.minor version
Previous Message Andrew Hammond 2007-04-09 21:47:20 programmatic way to fetch latest release for a given major.minor version