python - lo: Add PG version utility. - Mailing list pgsql-committers

From jwp@pgfoundry.org (James William Pye)
Subject python - lo: Add PG version utility.
Date
Msg-id 20050512212656.3DD9F1125FFF@pgfoundry.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
Add PG version utility. Parses PG versions to a sys.version_info style tuple and
can output in XML, sh, or python(tuple.__repr__) formats.
(/be will probably depend on this instead of its internal version parser)

Provides command line interface as well:
$ python -m postgresql/utility/version 8.1devel
PG_VERSION_MAJOR=8
PG_VERSION_MINOR=1
PG_VERSION_PATCH=0
PG_VERSION_STATE=devel
PG_VERSION_LEVEL=0

Added Files:
-----------
    lo/postgresql/utility:
        version.py (r1.1)

(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/lo/postgresql/utility/version.py?rev=1.1&content-type=text/x-cvsweb-markup)

pgsql-committers by date:

Previous
From: tgl@svr1.postgresql.org (Tom Lane)
Date:
Subject: pgsql: Remove some unnecessary code: since ExecMakeFunctionResultNoSets
Next
From: jwp@pgfoundry.org (James William Pye)
Date:
Subject: python - lo: Add standard, optparse, client options module.