python-pgextras icon indicating copy to clipboard operation
python-pgextras copied to clipboard

Postgres version invalid regex

Open sderosiaux opened this issue 5 years ago • 1 comments

Hi,

In is_pg_at_least_nine_two the regex expects three parts "x.y.z" but some PostgreSQL version only has 2 parts, ie: "12.3" (since 11 it seems https://www.postgresql.org/support/versioning/) hence most commands fails with 'NoneType' object has no attribute 'groups'.

sderosiaux avatar Jul 22 '20 09:07 sderosiaux

I too encountered the same. Have fixed in #7

samkit-jain avatar Jun 28 '23 12:06 samkit-jain