Received: from localhost (maia-3.hub.org [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 5B2339FB6A7 for ; Mon, 9 Apr 2007 18:47:24 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 37460-08 for ; Mon, 9 Apr 2007 18:47:20 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from floppy.pyrenet.fr (floppy.pyrenet.fr [194.116.145.2]) by postgresql.org (Postfix) with ESMTP id 8A3449FB674 for ; Mon, 9 Apr 2007 18:47:23 -0300 (ADT) Received: by floppy.pyrenet.fr (Postfix, from userid 106) id 30A963090A; Mon, 9 Apr 2007 23:47:22 +0200 (MET DST) From: "Andrew Hammond" X-Newsgroups: pgsql.general Subject: programmatic way to fetch latest release for a given major.minor version Date: 9 Apr 2007 14:47:20 -0700 Organization: http://groups.google.com Lines: 9 Message-ID: <1176155240.221125.319880@y80g2000hsf.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Complaints-To: groups-abuse@google.com User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.1) Gecko/20061010 Firefox/2.0,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: y80g2000hsf.googlegroups.com; posting-host=68.111.42.215; posting-account=cSUlcA0AAABWACaPjo2Z9C0GBLTio512 To: pgsql-general@postgresql.org X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200704/403 X-Sequence-Number: 112306 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. Andrew