-- these should all be true
select _pgr_versionless('2.1.0foobar23', '2.1');
select _pgr_versionless('2.1.0foobar23', '2.1-rc1');
select _pgr_versionless('2.1.0foobar23', '2.1-beta');
select _pgr_versionless('2.1.0foobar23', '2.1-alpha');
select _pgr_versionless('2.1.0foobar23', '2.1-dev');
select _pgr_versionless('2.1.0foobar23', '2.1rc1');
select _pgr_versionless('2.1.0foobar23', '2.1beta');
select _pgr_versionless('2.1.0foobar23', '2.1alpha');
select _pgr_versionless('2.1.0foobar23', '2.1dev');
select _pgr_versionless('2.1.0-dev', '2.1');
select _pgr_versionless('2.1.0-dev', '2.1-rc1');
select _pgr_versionless('2.1.0-dev', '2.1-beta');
select _pgr_versionless('2.1.0-dev', '2.1-alpha');
select _pgr_versionless('2.1.0-dev', '2.1rc1');
select _pgr_versionless('2.1.0-dev', '2.1beta');
select _pgr_versionless('2.1.0-dev', '2.1alpha');
select _pgr_versionless('2.1.0-alpha', '2.1');
select _pgr_versionless('2.1.0-alpha', '2.1-rc1');
select _pgr_versionless('2.1.0-alpha', '2.1-beta');
select _pgr_versionless('2.1.0-alpha', '2.1rc1');
select _pgr_versionless('2.1.0-alpha', '2.1beta');
select _pgr_versionless('2.1.0-beta', '2.1');
select _pgr_versionless('2.1.0-beta', '2.1-rc1');
select _pgr_versionless('2.1.0-beta', '2.1rc1');
select _pgr_versionless('2.0.0', '2.1');
select _pgr_versionless('2.1', '2.1.3');
select _pgr_versionless('1.05', '2.0.0');
select _pgr_versionless('1.05', '2.0');
select _pgr_versionless('1.05', '2');
-- these should all be false
select _pgr_versionless('2.1', '2.1.0foobar23');
select _pgr_versionless('2.1-rc1', '2.1.0foobar23');
select _pgr_versionless('2.1-beta', '2.1.0foobar23');
select _pgr_versionless('2.1-alpha', '2.1.0foobar23');
select _pgr_versionless('2.1-dev', '2.1.0foobar23');
select _pgr_versionless('2.1rc1', '2.1.0foobar23');
select _pgr_versionless('2.1beta', '2.1.0foobar23');
select _pgr_versionless('2.1alpha', '2.1.0foobar23');
select _pgr_versionless('2.1dev', '2.1.0foobar23');
select _pgr_versionless('2.1', '2.1.0-dev');
select _pgr_versionless('2.1-rc1', '2.1.0-dev');
select _pgr_versionless('2.1-beta', '2.1.0-dev');
select _pgr_versionless('2.1-alpha', '2.1.0-dev');
select _pgr_versionless('2.1rc1', '2.1.0-dev');
select _pgr_versionless('2.1beta', '2.1.0-dev');
select _pgr_versionless('2.1alpha', '2.1.0-dev');
select _pgr_versionless('2.1', '2.1.0-alpha');
select _pgr_versionless('2.1-rc1', '2.1.0-alpha');
select _pgr_versionless('2.1-beta', '2.1.0-alpha');
select _pgr_versionless('2.1rc1', '2.1.0-alpha');
select _pgr_versionless('2.1beta', '2.1.0-alpha');
select _pgr_versionless('2.1', '2.1.0-beta');
select _pgr_versionless('2.1-rc1', '2.1.0-beta');
select _pgr_versionless('2.1rc1', '2.1.0-beta');
select _pgr_versionless('2.1', '2.0.0');
select _pgr_versionless('2.1.3', '2.1');
select _pgr_versionless('2.0.0', '1.05');
select _pgr_versionless('2.0', '1.05');
select _pgr_versionless('2', '1.05');
select _pgr_versionless('2', '2.0.0foobar');
select _pgr_versionless('2.1', '2.1.0');
select _pgr_versionless('2.1.0beta3dev', '2.1.0beta1dev');
