Log Message:
-----------
Refactor the version parser.
Relocate the parsing code into split() and make it so that split returns None in
cases where the piece of information is absent. This later proves useful for
general comparisons: "8" is "8.1" or "8.2" or "8.3". (pg_tin uses this for
version selectivity; pg_tin -V 8 com psql -c 'SELECT version()' # select 8.x)
(need to add less than and greater than methods still)
Modified Files:
--------------
lo/postgresql/utility:
version.py (r1.2 -> r1.3)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/lo/postgresql/utility/version.py.diff?r1=1.2&r2=1.3)
Есть вопросы? Напишите нам!
✖
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера