Menu

#4 pg_server_version doesn't work with PostgreSQL-10.x

None
closed
lbayuk
None
3
Fixed
2017-11-13
2017-11-12
lbayuk
No

PostgreSQL developers switched from 3-part to 2-part version numbers stating with 10.x and pg_server_version does not work (returns 0). It needs to handle 3-part (x.y.z = xxyyxx) and 2-part (x.y = xx00yy) versions. See PostgreSQL-10 documentation for PQserverVersion.

Discussion

  • lbayuk

    lbayuk - 2017-11-13
    • status: open --> closed
    • Resolution: None --> Fixed
     
  • lbayuk

    lbayuk - 2017-11-13

    Fixed in 3.5.1 - pg_server_version will work with 2-part and 3-part versions.

     

Log in to post a comment.