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

From: "Huang, Jun" <huangj(dot)fnst(at)cn(dot)fujitsu(dot)com>
To: "pgadmin-hackers(at)postgresql(dot)org" <pgadmin-hackers(at)postgresql(dot)org>
Subject: There is an error when checking the major version of servers in schema diff
Date: 2021-01-17 12:58:32
Message-ID: 436f7edcc84e463fac5ed65866dc5ee3@G08CNEXMBPEKD06.g08.fujitsu.local
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

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 Content-Type Size
check-major-version-of-servers.patch application/octet-stream 577 bytes

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Aditya Toshniwal 2021-01-18 05:03:32 Re: [pgAdmin][RM1802] ERD Tool (Beta)
Previous Message Akshay Joshi 2021-01-16 11:37:53 Re: [pgAdmin][RM1802] ERD Tool (Beta)