Thread: There is an error when checking the major version of servers in schema diff

There is an error when checking the major version of servers in schema diff

From
"Huang, Jun"
Date:
Hi,

The function get_round_val() outputs the wrong value when major version is before 10.
For example,
   Source server version: 90500
   Target server version: 90502
Or
   Source server version: 90502
   Target server version: 90602

The attached patch shows the changes.
--
Thanks && regards
HuangJ




Attachment

Re: There is an error when checking the major version of servers in schema diff

From
Akshay Joshi
Date:
Thanks, patch applied.

On Sun, Jan 17, 2021 at 6:28 PM Huang, Jun <huangj.fnst@cn.fujitsu.com> wrote:
Hi,

The function get_round_val() outputs the wrong value when major version is before 10.
For example,
   Source server version: 90500
   Target server version: 90502
Or
   Source server version: 90502
   Target server version: 90602

The attached patch shows the changes.
--
Thanks && regards
HuangJ





--
Thanks & Regards
Akshay Joshi
pgAdmin Hacker | Principal Software Architect
EDB Postgres
Mobile: +91 976-788-8246